chore: clean up Windows specific code

This commit is contained in:
grossmj committed 2026-10-20 11:51:29 +07:00
1 parent 9e9f1316aa
commit 437f68961b
7 files changed
+16 -177

No files matched your search

-4
View File
@@ -18,7 +18,6 @@
import json
import logging
import os
import sys
import tempfile
import zipfile
from datetime import datetime
@@ -154,9 +153,6 @@ def _patch_mtime(path):
:param path: file path
"""
if sys.platform.startswith("win"):
# only UNIX type platforms
return
st = os.stat(path, follow_symlinks=False)
file_date = datetime.fromtimestamp(st.st_mtime)
if file_date.year < 1980: