mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-03-07 18:17:36 +08:00
Fix: Add support for UNC network paths in channel normalization
This commit is contained in:
parent
001adf19c9
commit
7d27d9d7db
@ -357,6 +357,8 @@ def normalize_channel(channel):
|
|||||||
return channel
|
return channel
|
||||||
elif channel.startswith('http://') and get_config()['http_channel_enabled'] == True:
|
elif channel.startswith('http://') and get_config()['http_channel_enabled'] == True:
|
||||||
return channel
|
return channel
|
||||||
|
elif channel.startswith('\\\\') or os.path.isabs(channel):
|
||||||
|
return channel
|
||||||
|
|
||||||
tmp_dict = get_channel_dict()
|
tmp_dict = get_channel_dict()
|
||||||
channel_url = tmp_dict.get(channel)
|
channel_url = tmp_dict.get(channel)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user