Let running display.py open the Index

This commit is contained in:
Jason Lobo 2020-11-21 22:27:17 +00:00
parent 66a5ee5585
commit 51eacfba32

View file

@ -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)