summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authorAlexander Regueiro <[email protected]>2022-05-29 03:04:26 +0100
committerGitHub <[email protected]>2022-05-28 22:04:26 -0400
commitc5010989826b6a1ff1d4f82431337e6df9650f70 (patch)
tree1511bc94f68f0a53bea5512a2b3355cda5c6492a /bazarr.py
parent9c7cbe9a7d120ee2323d3a1ab556c904e9de42f4 (diff)
downloadbazarr-c5010989826b6a1ff1d4f82431337e6df9650f70.tar.gz
bazarr-c5010989826b6a1ff1d4f82431337e6df9650f70.zip
Small fix when getting Python bundle path (#1854)
Diffstat (limited to 'bazarr.py')
-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