mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-07-06 17:31:16 -03:00
fix(standalone): load extra folder paths from library settings in standalone mode
This commit is contained in:
@@ -177,7 +177,6 @@ class Config:
|
|||||||
|
|
||||||
# Load extra folder paths from active library settings before symlink scan
|
# Load extra folder paths from active library settings before symlink scan
|
||||||
# so both primary and extra paths are discovered in a single pass.
|
# so both primary and extra paths are discovered in a single pass.
|
||||||
if not standalone_mode:
|
|
||||||
self._load_extra_paths_from_settings()
|
self._load_extra_paths_from_settings()
|
||||||
|
|
||||||
# Scan symbolic links during initialization
|
# Scan symbolic links during initialization
|
||||||
@@ -193,7 +192,7 @@ class Config:
|
|||||||
Called during ``Config.__init__`` before the symlink scan so both primary and
|
Called during ``Config.__init__`` before the symlink scan so both primary and
|
||||||
extra paths are discovered in a single pass. Mirrors the extra-path
|
extra paths are discovered in a single pass. Mirrors the extra-path
|
||||||
portion of ``_apply_library_paths`` without replacing the primary roots
|
portion of ``_apply_library_paths`` without replacing the primary roots
|
||||||
that were already resolved from ComfyUI's ``folder_paths``.
|
that were already resolved via ``folder_paths.get_folder_paths``.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
from .services.settings_manager import get_settings_manager
|
from .services.settings_manager import get_settings_manager
|
||||||
|
|||||||
Reference in New Issue
Block a user