mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-08 21:06:43 +03:00
Test new reconnect logic
This commit is contained in:
3
main.py
3
main.py
@@ -129,6 +129,9 @@ async def loop_atv(event_loop, atv_config, apikey, categories):
|
||||
#await event_loop.run_in_executor(None, sys.stdin.readline)
|
||||
except:
|
||||
atv.close()
|
||||
print("Finished connection with ATV")
|
||||
asyncio.sleep(5)
|
||||
loop_atv(event_loop, atv_config, apikey, categories)
|
||||
|
||||
def load_config(config_file="config.json"):
|
||||
with open(config_file) as f:
|
||||
|
||||
Reference in New Issue
Block a user