1
mirror of git://git.acid.vegas/IRCP.git synced 2024-11-22 16:06:41 +00:00

Initialization of main function no longer using loop_until_complete

This commit is contained in:
Dionysus 2023-06-19 03:03:21 -04:00
parent 5c207b6a7c
commit 2c12edc494
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -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'))