From 4d1d2c697305d00779c062fb53afc1b2b666218d Mon Sep 17 00:00:00 2001 From: "B. Bergeron" Date: Mon, 11 Aug 2025 17:38:01 -0400 Subject: [PATCH] Don't resolve symlinks for ROOT path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- nodes/sup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/sup.py b/nodes/sup.py index 374274b..246ffa3 100644 --- a/nodes/sup.py +++ b/nodes/sup.py @@ -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"