Skip to content

Commit

Permalink
Bugfix - Add module if not yet in module list
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 committed May 8, 2015
1 parent 92bdf14 commit 422793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyminifier/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def enumerate_local_modules(tokens, path):
module = "%s.%s" % (module_tree, f)
else:
module = f
if module in modules:
if not module in modules:
local_modules.append(module)
return local_modules

Expand Down

0 comments on commit 422793b

Please sign in to comment.