Skip to content

Commit

Permalink
compression.py: Fixed bug #32 reported by rsc1975 (he included the fi…
Browse files Browse the repository at this point in the history
…x too).
  • Loading branch information
liftoff committed Feb 4, 2015
1 parent d34e3ce commit 50bf748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyminifier/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ def zip_pack(filepath, options):
if options.use_nonlatin:
if sys.version_info[0] == 3:
name_generator = obfuscate.obfuscation_machine(
use_unicode=True, count=identifier_length
use_unicode=True, identifier_length=identifier_length
)
else:
print(
"ERROR: You can't use nonlatin characters without Python 3")
sys.exit(2)
else:
name_generator = obfuscate.obfuscation_machine(
count=identifier_length)
identifier_length=identifier_length)
table =[{}]
included_modules = []
for module in local_modules:
Expand Down

0 comments on commit 50bf748

Please sign in to comment.