mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-23 00:16:41 +00:00
Initialization of main function no longer using loop_until_complete
This commit is contained in:
parent
5c207b6a7c
commit
2c12edc494
3
ircp.py
3
ircp.py
@ -524,8 +524,7 @@ else:
|
|||||||
del found, targets_file
|
del found, targets_file
|
||||||
while True:
|
while True:
|
||||||
random.shuffle(targets)
|
random.shuffle(targets)
|
||||||
loop = asyncio.get_event_loop()
|
asyncio.run(main(targets))
|
||||||
loop.run_until_complete(main(targets))
|
|
||||||
debug('IRCP has finished probing!')
|
debug('IRCP has finished probing!')
|
||||||
if settings.daemon:
|
if settings.daemon:
|
||||||
backup(time.strftime('%y%m%d-%H%M%S'))
|
backup(time.strftime('%y%m%d-%H%M%S'))
|
||||||
|
Loading…
Reference in New Issue
Block a user