This commit is contained in:
2026-02-04 08:55:30 +01:00
committed by Florian Greistorfer
parent cad6d88b22
commit 895ac03590
4 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ except ModuleNotFoundError:
RICH = False
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__)).removesuffix(__package__)
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__)).removesuffix(__package__ if __package__ else "")
DEFAULT_THEME_PATH = os.path.join(SCRIPTDIR, "templates", "default.css")
DEFAULT_AUTHOR = "Author"