[Scummvm-git-logs] scummvm master -> d2c524bbfac6526874c933d07f528bc56ec3b053

sev- noreply at scummvm.org
Fri Jun 17 12:28:08 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d2c524bbfa DEVTOOLS: COMPANION: Fix 'mac' mode without encoding specified


Commit: d2c524bbfac6526874c933d07f528bc56ec3b053
    https://github.com/scummvm/scummvm/commit/d2c524bbfac6526874c933d07f528bc56ec3b053
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-06-17T14:24:04+02:00

Commit Message:
DEVTOOLS: COMPANION: Fix 'mac' mode without encoding specified

Changed paths:
    devtools/dumper-companion.py


diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index 7c125357758..fab6cc2159a 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -418,6 +418,8 @@ def punyencode_dir(
     dirs: List[Path] = []
     if source_encoding is not None:
         directory = Path(demojibake_hfs_bytestring(directory, source_encoding))
+    else:
+        directory = Path(os.fsdecode(directory))
     path_glob = directory.glob("**/*")
     for item in path_glob:
         if item.is_file():




More information about the Scummvm-git-logs mailing list