Files
willmiao-ComfyUI-Lora-Manager/py
Will Miao b445bd16bb fix(paths): normalize separators for organized and downloaded paths
The Windows job has been red since the workflow auto-organize feature (#1177) landed: two assertions expected one separator form while the code produced another on Windows.

- download_manager joined the posix relative path ("SDXL 1.0/utility") onto a native root, so save_dir came out mixed-separated. Normalize the joined directory with normpath.
- auto-organize's flat-template branch returned the native root while the templated branch returned a posix path; ModelMoveService.move_model had the same split. Normalize both to the posix form the scanner stores.

Linux-only runs cannot catch either because os.sep == "/".
2026-11-07 11:52:32 +08:00
..