mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 15:27:38 +08:00
Fix for main.py not found
This commit is contained in:
parent
1137090735
commit
3008c7a746
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue