Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/0fb4160407aca76fbe3688da8ccce140917ae87e?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
2 deletions
@ -31,10 +31,17 @@ check_python_version()
dir_name = os . path . dirname ( __file__ )
dir_name = os . path . dirname ( __file__ )
def end_child_process ( ep ) :
try :
ep . kill ( )
except :
pass
def start_bazarr ( ) :
def start_bazarr ( ) :
script = [ sys . executable , " -u " , os . path . normcase ( os . path . join ( dir_name , ' bazarr ' , ' main.py ' ) ) ] + sys . argv [ 1 : ]
script = [ sys . executable , " -u " , os . path . normcase ( os . path . join ( dir_name , ' bazarr ' , ' main.py ' ) ) ] + sys . argv [ 1 : ]
ep = subprocess . Popen ( script , stdout = None , stderr = None , stdin = subprocess . DEVNULL )
ep = subprocess . Popen ( script , stdout = None , stderr = None , stdin = subprocess . DEVNULL )
atexit . register ( lambda : ep . kill ( ) )
atexit . register ( end_child_process , ep = ep )
def check_status ( ) :
def check_status ( ) :
@ -85,4 +92,5 @@ if __name__ == '__main__':
else :
else :
os . wait ( )
os . wait ( )
except ( KeyboardInterrupt , SystemExit ) :
except ( KeyboardInterrupt , SystemExit ) :
pass
print ( ' Bazarr exited. ' )
sys . exit ( 0 )