Skip to content

Commit

Permalink
minor multiprocessing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenChords committed Jul 19, 2020
1 parent 9d281a0 commit a73393f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ __pycache__/inventory.cpython-38.pyc
__pycache__/config.cpython-38.pyc
__pycache__/calculator.cpython-38.pyc
config.txt
__pycache__/FTPManagement.cpython-38.pyc
Binary file modified __pycache__/FTPManagement.cpython-38.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def work(startingInventory, recipeList, invFrames):
return result

if __name__ == '__main__':
multiprocessing.freeze_support()
cycle_count = 1
startingInventory = getStartingInventory()
recipeList = getRecipeList()
Expand Down

0 comments on commit a73393f

Please sign in to comment.