mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-08 21:06:43 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -145,9 +145,11 @@ async def finish(devices, web_session, tcp_connector):
|
|||||||
await web_session.close()
|
await web_session.close()
|
||||||
await tcp_connector.close()
|
await tcp_connector.close()
|
||||||
|
|
||||||
|
|
||||||
def handle_signal(signum, frame):
|
def handle_signal(signum, frame):
|
||||||
raise KeyboardInterrupt()
|
raise KeyboardInterrupt()
|
||||||
|
|
||||||
|
|
||||||
def main(config, debug):
|
def main(config, debug):
|
||||||
loop = asyncio.get_event_loop_policy().get_event_loop()
|
loop = asyncio.get_event_loop_policy().get_event_loop()
|
||||||
tasks = [] # Save the tasks so the interpreter doesn't garbage collect them
|
tasks = [] # Save the tasks so the interpreter doesn't garbage collect them
|
||||||
|
|||||||
Reference in New Issue
Block a user