Browse Source

bugfix: robust lookup for missing nodes

pull/62/head
Dr.Lt.Data 1 year ago
parent
commit
d104202481
  1. 2
      __init__.py
  2. 2
      js/comfyui-manager.js

2
__init__.py

@ -33,7 +33,7 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url from torchvision.datasets.utils import download_url
# ensure .js # ensure .js
print("### Loading: ComfyUI-Manager (V0.19)") print("### Loading: ComfyUI-Manager (V0.19.1)")
comfy_ui_required_revision = 1240 comfy_ui_required_revision = 1240
comfy_ui_revision = "Unknown" comfy_ui_revision = "Unknown"

2
js/comfyui-manager.js vendored

@ -303,7 +303,7 @@ class CustomNodesInstaller extends ComfyDialog {
for (let i in nodes) { for (let i in nodes) {
const node_type = nodes[i].type; const node_type = nodes[i].type;
if (!registered_nodes.has(node_type)) { if (!registered_nodes.has(node_type)) {
const url = name_to_url[node_type]; const url = name_to_url[node_type.trim()];
if(url) if(url)
missing_nodes.add(url); missing_nodes.add(url);
else { else {

Loading…
Cancel
Save