mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 05:16:59 +08:00
Print custom node loading for debug
This commit is contained in:
parent
c6de09b02e
commit
29b94f61ec
4
nodes.py
4
nodes.py
@ -1917,6 +1917,10 @@ def load_custom_nodes():
|
|||||||
possible_modules.remove("__pycache__")
|
possible_modules.remove("__pycache__")
|
||||||
|
|
||||||
for possible_module in possible_modules:
|
for possible_module in possible_modules:
|
||||||
|
|
||||||
|
from colorama import Fore, Style
|
||||||
|
print(Fore.LIGHTMAGENTA_EX + "\nLOADING " + possible_module + Style.RESET_ALL)
|
||||||
|
|
||||||
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
|
||||||
if module_path.endswith(".disabled"): continue
|
if module_path.endswith(".disabled"): continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user