Don't feed the watch dog in DEBUG mode

This commit is contained in:
Tanner Collin 2021-10-15 15:48:19 -06:00
parent a7c3e13fcb
commit 5a29373838

View File

@ -89,6 +89,7 @@ if __name__ == '__main__':
init() init()
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
if not DEBUG:
loop.create_task(feed_watchdog()) loop.create_task(feed_watchdog())
loop.run_until_complete(ws_listener()) loop.run_until_complete(ws_listener())
loop.close() loop.close()