From 2c12edc494acb4f7107ff252d5c856178c10ca22 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Mon, 19 Jun 2023 03:03:21 -0400 Subject: [PATCH] Initialization of main function no longer using loop_until_complete --- ircp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ircp.py b/ircp.py index 163115d..c29b24d 100644 --- a/ircp.py +++ b/ircp.py @@ -524,8 +524,7 @@ else: del found, targets_file while True: random.shuffle(targets) - loop = asyncio.get_event_loop() - loop.run_until_complete(main(targets)) + asyncio.run(main(targets)) debug('IRCP has finished probing!') if settings.daemon: backup(time.strftime('%y%m%d-%H%M%S'))