mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-22 08:16:35 +08:00
Merge pull request #626 from L1ghtn1ng/uvloop-workaround-py3.9
temp fix for uvloop on py3.9
This commit is contained in:
commit
71fe36ff23
|
@ -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
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
class Core:
|
||||
@staticmethod
|
||||
def version() -> str:
|
||||
return '3.2.0'
|
||||
return '3.2.1'
|
||||
|
||||
@staticmethod
|
||||
def api_keys() -> dict:
|
||||
|
|
Loading…
Reference in a new issue