Skip to content

Commit

Permalink
Check __name__ == "__main__" to fix multiprocessing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlindholm committed Dec 7, 2020
1 parent feb0d0a commit db7c6dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion permuter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
from src.main import main

main()
if __name__ == "__main__":
main()

0 comments on commit db7c6dd

Please sign in to comment.