diff --git a/utils/data.py b/utils/data.py index b83e9eb..46e3167 100644 --- a/utils/data.py +++ b/utils/data.py @@ -2,5 +2,5 @@ import os from pathlib import Path SCRIPT_DIR = Path(__file__).parent.resolve() -ASSET_DIR = os.path.join(SCRIPT_DIR, "assets") -LOGO_DIR = os.path.join(ASSET_DIR, "logos") \ No newline at end of file +ASSET_DIR = os.path.join(SCRIPT_DIR, "../assets") +LOGO_DIR = os.path.join(ASSET_DIR, "../logos") \ No newline at end of file diff --git a/utils/fonts.py b/utils/fonts.py index 9ce699b..3ed9e59 100644 --- a/utils/fonts.py +++ b/utils/fonts.py @@ -5,6 +5,6 @@ import os font = graphics.Font() font_small = graphics.Font() font_big = graphics.Font() -font.LoadFont(os.path.join('../', ASSET_DIR, "fonts/7x13.bdf")) -font_small.LoadFont(os.path.join('../', ASSET_DIR, "fonts/5x7.bdf")) -font_big.LoadFont(os.path.join('../', ASSET_DIR, "fonts/9x18.bdf")) \ No newline at end of file +font.LoadFont(os.path.join(ASSET_DIR, "fonts/7x13.bdf")) +font_small.LoadFont(os.path.join(ASSET_DIR, "fonts/5x7.bdf")) +font_big.LoadFont(os.path.join(ASSET_DIR, "fonts/9x18.bdf")) \ No newline at end of file