fixed so symlink gets resolved

This commit is contained in:
2026-01-26 15:47:10 +01:00
committed by Florian Greistorfer
parent 4ef1b429f2
commit b109627bf9
5 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ if __package__ is None:
PACKAGE = ""
else:
PACKAGE = __package__
SCRIPTDIR = os.path.abspath(os.path.dirname(__file__).removesuffix(PACKAGE))
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__).removesuffix(PACKAGE))
DEFAULT_THEME_PATH = os.path.join(SCRIPTDIR, "templates", "default.css")
DEFAULT_AUTHOR = "Author"