From c33a34f9d850b4c276e5a6460498086e14d5e65c Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 13 Apr 2019 19:30:15 +0200 Subject: [PATCH] Now using absolute path --- Calendar/Assets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calendar/Assets.py b/Calendar/Assets.py index 00b146b..d50bd89 100644 --- a/Calendar/Assets.py +++ b/Calendar/Assets.py @@ -5,7 +5,7 @@ from settings import font_boldness import os im_open = Image.open -path = os.path.dirname(os.path.relpath(__file__)).replace("\\", "/") +path = os.path.dirname(os.path.abspath(__file__)).replace("\\", "/") if path != "" and path[-1] != "/": path += "/"