Closed tusharparimi closed 3 weeks ago
Currently commented in screenshot_taker.py's main method,
https://github.com/tusharparimi/fifa-bot/blob/d0e0c9dbb92a83775706db4a30cbe60c783b599e/screenshot_taker.py#L37-L45
This breaks the show() as the display frame freezes.
Need this terminate loop support in controller.py's main method as well as in data_recorder.py
This commit https://github.com/tusharparimi/fifa-bot/commit/3932061e629273801ca6f0a5c13d9900a10f0d70 fixes this with the same keyboard package but with keyboard.is_pressed(),
https://github.com/tusharparimi/fifa-bot/blob/3932061e629273801ca6f0a5c13d9900a10f0d70/screenshot_taker.py#L37-L45
Currently commented in screenshot_taker.py's main method,
https://github.com/tusharparimi/fifa-bot/blob/d0e0c9dbb92a83775706db4a30cbe60c783b599e/screenshot_taker.py#L37-L45
This breaks the show() as the display frame freezes.
Need this terminate loop support in controller.py's main method as well as in data_recorder.py