mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-10 00:07:33 +08:00
get_asset_category_and_relative_path returned os.path.relpath output directly, which uses backslashes on Windows, producing logical paths like 'LLM\model.safetensors'. Normalize to '/' so the logical file_path is platform-independent, matching _compute_relative. Fixes test_path_utils failures on windows-2022. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asset_management.py | ||
| bulk_ingest.py | ||
| file_utils.py | ||
| hashing.py | ||
| image_dimensions.py | ||
| ingest.py | ||
| metadata_extract.py | ||
| path_utils.py | ||
| schemas.py | ||
| tagging.py | ||