diff --git a/lib/utils.py b/lib/utils.py index 14d6220..a2055b4 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -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: