From 51eacfba3218194bf434d0b90fa0b22776ff823f Mon Sep 17 00:00:00 2001 From: Jason Lobo Date: Sat, 21 Nov 2020 22:27:17 +0000 Subject: [PATCH] Let running display.py open the Index --- display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display.py b/display.py index b0744e3..150e6e7 100644 --- a/display.py +++ b/display.py @@ -404,7 +404,7 @@ class Ui_MainWindow(object): try: base_path = sys._MEIPASS except Exception: - base_path = Path.resolve(".") + base_path = Path(__file__).parent return Path(base_path)