Skip to content

Commit

Permalink
Fix one_liner
Browse files Browse the repository at this point in the history
  • Loading branch information
davidteather committed Dec 6, 2020
1 parent f1d264e commit 7dfd807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion python_obfuscator/techniques.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def one_liner(code):
formatted_code = re.sub(
r"(;)\1+",
";",
"""exec(\"\"\"{}\"\"\")""".format(
"""exec(\"\"\"{};\"\"\")""".format(
code.replace("\n", ";").replace('"""', '\\"\\"\\"')
),
)
Expand Down

0 comments on commit 7dfd807

Please sign in to comment.