summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bazarr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr.py b/bazarr.py
index b62fc27d8..5276bca39 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -33,7 +33,7 @@ def check_python_version():
def get_python_path():
if sys.platform == "darwin":
# Do not run Python from within macOS framework bundle.
- python_bundle_path = os.path.join(sys.exec_prefix, "Resources", "Python.app", "Contents", "MacOS", "Python")
+ python_bundle_path = os.path.join(sys.base_exec_prefix, "Resources", "Python.app", "Contents", "MacOS", "Python")
if os.path.exists(python_bundle_path):
import tempfile