diff --git a/theHarvester.py b/theHarvester.py index c728b0d8..4c96d15f 100755 --- a/theHarvester.py +++ b/theHarvester.py @@ -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