mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-09 15:57:24 +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. |
||
|---|---|---|
| .. | ||
| assets | ||
| database | ||
| __init__.py | ||
| app_settings.py | ||
| custom_node_manager.py | ||
| frontend_management.py | ||
| logger.py | ||
| model_manager.py | ||
| node_replace_manager.py | ||
| subgraph_manager.py | ||
| user_manager.py | ||