small fix of the skript wegen Deutscher Umlaute
This commit is contained in:
@@ -36,7 +36,8 @@ def filter_zip_no_stl(source_zip_path: str, replace: bool = False) -> str:
|
||||
copied_count = 0
|
||||
skipped_count = 0
|
||||
|
||||
with zipfile.ZipFile(source_path, 'r') as src_zip:
|
||||
# Öffne ZIP mit metadata_encoding für korrekte Behandlung von Umlauten
|
||||
with zipfile.ZipFile(source_path, 'r', metadata_encoding='utf-8') as src_zip:
|
||||
with zipfile.ZipFile(temp_path, 'w', zipfile.ZIP_DEFLATED) as dst_zip:
|
||||
for info in src_zip.infolist():
|
||||
# Verzeichnisse überspringen
|
||||
|
||||
Reference in New Issue
Block a user