summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
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):