Small update to allow comfyui_to_python.py to run from any subdirectory inside of ComfyUI.

This commit is contained in:
pydn
2024-09-14 13:43:10 -05:00
parent d5b1896fec
commit aa5416634c
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -2,8 +2,6 @@ import os
from typing import Sequence, Mapping, Any, Union
import sys
sys.path.append("../")
def import_custom_nodes() -> None:
"""Find all custom nodes in the custom_nodes folder and add those node objects to NODE_CLASS_MAPPINGS