summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py
index 91ddeca..88e0cda 100644
--- a/src/main.py
+++ b/src/main.py
@@ -19,7 +19,8 @@ from src.rules_dialog import RulesDialog
class AssignmentList(QMainWindow):
def __init__(self):
super().__init__()
- uic.loadUi(os.path.join("src", "main.ui"), self)
+ uic.loadUi(os.path.join(os.path.dirname(os.path.abspath(__file__)),
+ "main.ui"), self)
self.initializeUI()