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

@@ -22,7 +22,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))
STATIC_FILES_DIR = os.path.join(os.path.abspath(SCRIPTDIR), "files")
VERSION = open(os.path.join(SCRIPTDIR, ".version"), "r", encoding="utf-8").read()
RAW_EXTENSIONS = [