mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-22 15:38:27 +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):
|
def main(config, config_file, debug):
|
||||||
|
loop = asyncio.get_event_loop_policy().get_event_loop()
|
||||||
try:
|
try:
|
||||||
num_atvs = len(config["atvs"])
|
num_atvs = len(config["atvs"])
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user