8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab43658 commit d772cf3Copy full SHA for d772cf3
src/undetected_chromedriver/patcher.py
@@ -67,7 +67,7 @@ def __init__(
67
version_main_int = int(version_main)
68
# check if version_main_int is less than or equal to e.g 114
69
self.is_old_chromedriver = version_main and version_main_int <= 114
70
- except ValueError:
+ except (ValueError,TypeError):
71
# If the conversion fails, print an error message
72
print("version_main cannot be converted to an integer")
73
# Set self.is_old_chromedriver to False if the conversion fails
0 commit comments