Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
b67b6920
Commit
b67b6920
authored
Feb 15, 2023
by
Hacker 17082006
Browse files
Fix bug
parent
4b4eae71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nodes.py
nodes.py
+1
-1
No files found.
nodes.py
View file @
b67b6920
...
@@ -610,7 +610,7 @@ def load_custom_nodes():
...
@@ -610,7 +610,7 @@ def load_custom_nodes():
module_path
=
os
.
path
.
join
(
CUSTOM_NODE_PATH
,
possible_module
)
module_path
=
os
.
path
.
join
(
CUSTOM_NODE_PATH
,
possible_module
)
if
os
.
path
.
isfile
(
module_path
)
and
os
.
path
.
splitext
(
module_path
)[
1
]
!=
".py"
:
continue
if
os
.
path
.
isfile
(
module_path
)
and
os
.
path
.
splitext
(
module_path
)[
1
]
!=
".py"
:
continue
try
:
try
:
custom_nodes
=
import_module
(
possible_module
,
CUSTOM_NODE_PATH
)
custom_nodes
=
import_module
(
os
.
path
.
join
(
possible_module
,
CUSTOM_NODE_PATH
)
)
if
getattr
(
custom_nodes
,
"NODE_CLASS_MAPPINGS"
)
is
not
None
:
if
getattr
(
custom_nodes
,
"NODE_CLASS_MAPPINGS"
)
is
not
None
:
NODE_CLASS_MAPPINGS
.
update
(
custom_nodes
.
NODE_CLASS_MAPPINGS
)
NODE_CLASS_MAPPINGS
.
update
(
custom_nodes
.
NODE_CLASS_MAPPINGS
)
else
:
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment