Don't feed the watch dog in DEBUG mode
This commit is contained in:
parent
a7c3e13fcb
commit
5a29373838
3
main.py
3
main.py
|
@ -89,6 +89,7 @@ if __name__ == '__main__':
|
||||||
init()
|
init()
|
||||||
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.create_task(feed_watchdog())
|
if not DEBUG:
|
||||||
|
loop.create_task(feed_watchdog())
|
||||||
loop.run_until_complete(ws_listener())
|
loop.run_until_complete(ws_listener())
|
||||||
loop.close()
|
loop.close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user