From 5a29373838739605a855f654c90b37df6064d178 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Fri, 15 Oct 2021 15:48:19 -0600 Subject: [PATCH] Don't feed the watch dog in DEBUG mode --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 779a805..24226ab 100644 --- a/main.py +++ b/main.py @@ -89,6 +89,7 @@ if __name__ == '__main__': init() 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.close()