mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-10 14:06:44 +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)
|
#await event_loop.run_in_executor(None, sys.stdin.readline)
|
||||||
except:
|
except:
|
||||||
atv.close()
|
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"):
|
def load_config(config_file="config.json"):
|
||||||
with open(config_file) as f:
|
with open(config_file) as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user