You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the forager.py, I find the script will end after running it for an hour.
I checked the code. It seems the cc.close() is put in finally block. So the instance will be closed in the second time unless the output of the first run.
I think may be you could think of move the cc instance into the loop? Or move the cc.close() to the except block. But in the later situation, I found it need some extra ways to catch the KeyBoardInterrupt Exception.
The text was updated successfully, but these errors were encountered:
When I use the forager.py, I find the script will end after running it for an hour.
I checked the code. It seems the cc.close() is put in finally block. So the instance will be closed in the second time unless the output of the first run.
I think may be you could think of move the cc instance into the loop? Or move the cc.close() to the except block. But in the later situation, I found it need some extra ways to catch the KeyBoardInterrupt Exception.
The text was updated successfully, but these errors were encountered: