Don't resolve symlinks for ROOT path

Path.resolve makes a Path absolute but also resolves symlinks, which is
problematic if the custom_nodes folder itself is a symbolic link (as it might
be inside a Docker container to make mounting easier, in my case). I don’t see
why we would need to both resolve and make it absolute in the first place, but
I kept the part that makes it absolute nonetheless.
This commit is contained in:
B. Bergeron
2025-08-11 17:48:15 -04:00
parent ba6fbe4d2d
commit 4d1d2c6973
+1 -1
View File
@@ -3,7 +3,7 @@ from pathlib import Path
### GLOBALS
ROOT = Path(__file__).resolve().parent.parent
ROOT = Path(__file__).absolute().parent.parent
ROOT_COMFY = ROOT.parent.parent
ROOT_FONTS = ROOT / "fonts"