mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
feat: implement download path templates configuration with support for multiple model types and custom templates
This commit is contained in:
@@ -184,7 +184,7 @@ class MiscRoutes:
|
||||
logger.info(f"Example images path changed to {value} - server restart required")
|
||||
|
||||
# Special handling for base_model_path_mappings - parse JSON string
|
||||
if key == 'base_model_path_mappings' and value:
|
||||
if (key == 'base_model_path_mappings' or key == 'download_path_templates') and value:
|
||||
try:
|
||||
value = json.loads(value)
|
||||
except json.JSONDecodeError:
|
||||
|
||||
Reference in New Issue
Block a user