Merge branch 'fix_folders_handling' of https://github.com/fazo96/ComfyUI

This commit is contained in:
comfyanonymous
2023-11-29 14:10:30 -05:00
2 changed files with 5 additions and 2 deletions

View File

@@ -1824,7 +1824,7 @@ def load_custom_nodes():
node_paths = folder_paths.get_folder_paths("custom_nodes")
node_import_times = []
for custom_node_path in node_paths:
possible_modules = os.listdir(custom_node_path)
possible_modules = os.listdir(os.path.realpath(custom_node_path))
if "__pycache__" in possible_modules:
possible_modules.remove("__pycache__")