zipfile.py: don't force absolute paths

This commit is contained in:
Thomas Farstrike
2025-05-16 16:29:05 +02:00
parent ce9354adb0
commit dbda2dc8db
+2 -1
View File
@@ -1961,7 +1961,8 @@ class ZipFile:
# Construct target path
targetpath = self.path_join(targetpath, arcname)
targetpath = self.path_normpath(targetpath)
print(f"zipfile.py: skipping path_normpath because it adds a leading slash, while MicroPython on unix/desktop runs in a subfolder.")
#targetpath = self.path_normpath(targetpath)
# Create all parent directories if necessary
upperdirs = self.path_dirname(targetpath)