mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 22:42:56 +08:00
fix conflict
This commit is contained in:
commit
23bbee570a
1 changed files with 4 additions and 2 deletions
|
@ -19,8 +19,10 @@
|
|||
multiprocessing.freeze_support()
|
||||
asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
|
||||
else:
|
||||
import uvloop
|
||||
uvloop.install()
|
||||
if python_version()[0:3] < '3.9':
|
||||
import uvloop
|
||||
uvloop.install()
|
||||
|
||||
if "linux" in platform:
|
||||
import aiomultiprocess
|
||||
# As we are not using Windows we can change the spawn method to fork for greater performance
|
||||
|
|
Loading…
Reference in a new issue