Skip to content

Commit

Permalink
[py] disable strict time stamps in Firefox profile (#15141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delta456 authored Jan 28, 2025
1 parent 201fd29 commit c58a581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def install_addon(self, path, temporary=False) -> str:
path = os.path.normpath(path)
# account for trailing slash that will be added by os.walk()
path_root = len(path) + 1
with zipfile.ZipFile(fp, "w", zipfile.ZIP_DEFLATED) as zipped:
with zipfile.ZipFile(fp, "w", zipfile.ZIP_DEFLATED, strict_timestamps=False) as zipped:
for base, _, files in os.walk(path):
for fyle in files:
filename = os.path.join(base, fyle)
Expand Down

0 comments on commit c58a581

Please sign in to comment.