mirror of
https://github.com/mxrch/GHunt.git
synced 2026-10-29 04:37:09 +08:00
fix issue #149 (autoinstaller identified as chrome driver in virtualenv)
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ def sanitize_location(location):
|
||||
|
||||
def get_driverpath():
|
||||
tmprinter = TMPrinter()
|
||||
drivers = [str(x.absolute()) for x in Path('.').rglob('chromedriver*')]
|
||||
drivers = [str(x.absolute()) for x in Path('.').rglob('chromedriver*') if not "chromedriver_autoinstaller" in str(x)]
|
||||
if drivers:
|
||||
return drivers[0]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user