Skip to content

Commit 7dfd807

Browse files
committed
Fix one_liner
1 parent f1d264e commit 7dfd807

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/package-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ubuntu-latest]
19+
os: [macos-latest, windows-latest, ubuntu-latest]
2020
python-version: [3.6, 3.7, 3.8, 3.9]
2121
steps:
2222
- uses: actions/checkout@v2

python_obfuscator/techniques.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def one_liner(code):
1111
formatted_code = re.sub(
1212
r"(;)\1+",
1313
";",
14-
"""exec(\"\"\"{}\"\"\")""".format(
14+
"""exec(\"\"\"{};\"\"\")""".format(
1515
code.replace("\n", ";").replace('"""', '\\"\\"\\"')
1616
),
1717
)

0 commit comments

Comments
 (0)