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
cedbc94c
"...git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "6fcc2e715059ee99ca580d19b505800f1d746c67"
Commit
cedbc94c
authored
Jul 04, 2024
by
comfyanonymous
Browse files
Forgot this in last commit.
parent
bd2d3e27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
nodes.py
nodes.py
+4
-1
No files found.
nodes.py
View file @
cedbc94c
...
@@ -1890,6 +1890,9 @@ EXTENSION_WEB_DIRS = {}
...
@@ -1890,6 +1890,9 @@ EXTENSION_WEB_DIRS = {}
def
load_custom_node
(
module_path
,
ignore
=
set
()):
def
load_custom_node
(
module_path
,
ignore
=
set
()):
module_name
=
os
.
path
.
basename
(
module_path
)
module_name
=
os
.
path
.
basename
(
module_path
)
if
os
.
path
.
isfile
(
module_path
):
sp
=
os
.
path
.
splitext
(
module_path
)
module_name
=
sp
[
0
]
try
:
try
:
logging
.
debug
(
"Trying to load custom node {}"
.
format
(
module_path
))
logging
.
debug
(
"Trying to load custom node {}"
.
format
(
module_path
))
if
os
.
path
.
isfile
(
module_path
):
if
os
.
path
.
isfile
(
module_path
):
...
@@ -2019,7 +2022,7 @@ def init_builtin_extra_nodes():
...
@@ -2019,7 +2022,7 @@ def init_builtin_extra_nodes():
def
init_extra_nodes
(
init_custom_nodes
=
True
):
def
init_extra_nodes
(
init_custom_nodes
=
True
):
import_failed
=
init_
external_custom
_nodes
()
import_failed
=
init_
builtin_extra
_nodes
()
if
init_custom_nodes
:
if
init_custom_nodes
:
init_external_custom_nodes
()
init_external_custom_nodes
()
...
...
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