Skip to content

Commit

Permalink
Add missing require package and fix UI not run other farms
Browse files Browse the repository at this point in the history
  • Loading branch information
ken2057 committed May 21, 2022
1 parent 2fc8ba2 commit 2d41fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirement.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ numpy==1.17.3
pillow==9.1.0
pywin32==300
pyautogui==0.9.53
pywinauto==0.6.8
pywinauto==0.6.8
pyinstaller==5.0.1
1 change: 1 addition & 0 deletions src/ui/main_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def _next_farm(self):

if self.farm != None and not self.farm.get_result():
self.done.append(type(self.farm))
self.farm = None
save_print_dbg(f'--- done: {self.done}')
return self._next_farm()

Expand Down

0 comments on commit 2d41fad

Please sign in to comment.