mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 06:04:31 +08:00
bugfix: robust lookup for missing nodes
This commit is contained in:
parent
53977ca45f
commit
d104202481
@ -33,7 +33,7 @@ sys.path.append('../..')
|
||||
from torchvision.datasets.utils import download_url
|
||||
|
||||
# ensure .js
|
||||
print("### Loading: ComfyUI-Manager (V0.19)")
|
||||
print("### Loading: ComfyUI-Manager (V0.19.1)")
|
||||
|
||||
comfy_ui_required_revision = 1240
|
||||
comfy_ui_revision = "Unknown"
|
||||
|
||||
@ -303,7 +303,7 @@ class CustomNodesInstaller extends ComfyDialog {
|
||||
for (let i in nodes) {
|
||||
const node_type = nodes[i].type;
|
||||
if (!registered_nodes.has(node_type)) {
|
||||
const url = name_to_url[node_type];
|
||||
const url = name_to_url[node_type.trim()];
|
||||
if(url)
|
||||
missing_nodes.add(url);
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user