summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.py b/main.py
index c01bab9..0369861 100644
--- a/main.py
+++ b/main.py
@@ -10,6 +10,7 @@ import sv_ttk
import darkdetect
import os
+from os import path
canadian_companies = []
@@ -240,8 +241,9 @@ class CompanySelector:
logo_padding = 100 # top padding for logo
pyramid_padding_bottom = 350 # bottom padding for pyramid
max_companies_in_row = 5
- primary_font = "assets/baskerville.ttf"
- secondary_font = "assets/gill_sans_bold.ttf"
+ base_path = "assets"
+ primary_font = path.join(base_path, "baskerville.ttf")
+ secondary_font = path.join(base_path, "gill_sans_bold.ttf")
# Group the companies by their scores
pyramid = {}