Skip to content

Commit c58a581

Browse files
authored
[py] disable strict time stamps in Firefox profile (#15141)
1 parent 201fd29 commit c58a581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/firefox/webdriver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def install_addon(self, path, temporary=False) -> str:
131131
path = os.path.normpath(path)
132132
# account for trailing slash that will be added by os.walk()
133133
path_root = len(path) + 1
134-
with zipfile.ZipFile(fp, "w", zipfile.ZIP_DEFLATED) as zipped:
134+
with zipfile.ZipFile(fp, "w", zipfile.ZIP_DEFLATED, strict_timestamps=False) as zipped:
135135
for base, _, files in os.walk(path):
136136
for fyle in files:
137137
filename = os.path.join(base, fyle)

0 commit comments

Comments
 (0)