diff --git a/Menu/barreOutils.py b/Menu/barreOutils.py index 554be33..6265ccd 100644 --- a/Menu/barreOutils.py +++ b/Menu/barreOutils.py @@ -145,11 +145,11 @@ class BarreOutils(): def resource_path(self, relative_path): """ Get absolute path to resource, works for dev and for PyInstaller """ - try: + # try: # PyInstaller creates a temp folder and stores path in _MEIPASS - base_path = sys._MEIPASS - except Exception: - base_path = os.path.abspath(".") + # base_path = sys._MEIPASS + # except Exception: + base_path = os.path.abspath(".") return os.path.join(base_path, relative_path)