fix: type errors the merged batches brought

The name step reused one variable for paths and for (path, md5, size)
tuples, the standalone copies reused targets inside its own loop, and
the WSL state read as object. Ten baseline entries no longer occur.
This commit is contained in:
Abdessamad Derraz committed 2026-11-07 00:55:46 +01:00
1 parent 16f8c869a5
commit 6cc646acd6
7 files changed
+26 -36

No files matched your search

+1 -1
View File
@@ -1202,7 +1202,7 @@ def _parse_os_release() -> dict[str, str]:
# path and nothing Windows-side was ever found from WSL.
# unasked: why Windows could not be asked for its folders, said once by
# detection.
_WSL = {"active": False, "root": "/mnt", "unasked": ""}
_WSL: dict[str, Any] = {"active": False, "root": "/mnt", "unasked": ""}
_WINDOWS_VARIABLES = ("USERPROFILE", "APPDATA", "LOCALAPPDATA", "ProgramFiles", "ProgramFiles(x86)")