diff options
author | Alexander Regueiro <[email protected]> | 2022-05-29 03:04:26 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-28 22:04:26 -0400 |
commit | c5010989826b6a1ff1d4f82431337e6df9650f70 (patch) | |
tree | 1511bc94f68f0a53bea5512a2b3355cda5c6492a | |
parent | 9c7cbe9a7d120ee2323d3a1ab556c904e9de42f4 (diff) | |
download | bazarr-c5010989826b6a1ff1d4f82431337e6df9650f70.tar.gz bazarr-c5010989826b6a1ff1d4f82431337e6df9650f70.zip |
Small fix when getting Python bundle path (#1854)
-rw-r--r-- | bazarr.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |