From 5549339b7099582d6f29ffa593e2e9bc9faf9c6d Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 19 Jul 2024 01:35:38 -0700 Subject: [PATCH] fix loop typo --- mesh_bot.py | 2 +- pong_bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 412d79f..6f51963 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -485,7 +485,7 @@ if solar_conditions_enabled: if location_enabled: print(f"System: Location Telemetry Enabled") -loop = asyncio.get_event_loop() +loop = asyncio.new_event_loop() try: loop.run_forever(start_rx()) finally: diff --git a/pong_bot.py b/pong_bot.py index 21325e7..0724299 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -322,7 +322,7 @@ def start_rx(): # Hello World print ("\nMeshtastic Autoresponder MESH Bot CTL+C to exit\n") -loop = asyncio.get_event_loop() +loop = asyncio.new_event_loop() try: loop.run_forever(start_rx()) finally: