mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
fix: Update author retrieval to handle missing username gracefully in DownloadManager and utils
This commit is contained in:
@@ -352,7 +352,7 @@ class DownloadManager:
|
||||
base_model = version_info.get('baseModel', '')
|
||||
|
||||
# Get author from creator data
|
||||
author = version_info.get('creator', {}).get('username', 'Anonymous')
|
||||
author = version_info.get('creator', {}).get('username') or 'Anonymous'
|
||||
|
||||
# Apply mapping if available
|
||||
base_model_mappings = settings.get('base_model_path_mappings', {})
|
||||
|
||||
Reference in New Issue
Block a user