mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-20 06:28:28 +03:00
Update config_setup.py
Move loop creation on config to main
This commit is contained in:
@@ -58,6 +58,7 @@ async def find_atvs(loop):
|
||||
|
||||
|
||||
def main(config, config_file, debug):
|
||||
loop = asyncio.get_event_loop_policy().get_event_loop()
|
||||
try:
|
||||
num_atvs = len(config["atvs"])
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user