aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2018-10-09 19:47:32 -0400
committermorpheus65535 <[email protected]>2018-10-09 19:47:32 -0400
commit3008c7a746be9e6c7298c382e78401f03a244ef4 (patch)
tree4366f2cd6f1daf75ca74106fd77ba772717fd5af /bazarr.py
parent113709073581563dfda0761b3573caf818b9329a (diff)
downloadbazarr-3008c7a746be9e6c7298c382e78401f03a244ef4.tar.gz
bazarr-3008c7a746be9e6c7298c382e78401f03a244ef4.zip
Fix for main.py not found
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 9e22a2ef9..48a822268 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -27,7 +27,7 @@ for opt, arg in opts:
def start_bazarr():
- script = ['python','bazarr/main.py'] + globals()['arguments']
+ script = [sys.executable, os.path.normcase(os.path.join(os.path.dirname(__file__), 'bazarr/main.py'))] + globals()['arguments']
pidfile = os.path.normcase(os.path.join(os.path.dirname(__file__), 'bazarr.pid'))
if os.path.exists(pidfile):