Skip to content

Commit 42bc692

Browse files
author
chengxi
committed
fix not found comfyui_to_python_utils
1 parent 1c0585f commit 42bc692

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

comfyui_to_python.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
import black
1313

14-
14+
# Add current directory to Python path
15+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
1516
from comfyui_to_python_utils import (
1617
import_custom_nodes,
1718
find_path,

0 commit comments

Comments
 (0)