Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/be3d5a9d4a2165b0670b0e5121b0143e9e0a4c81?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
3 deletions
@ -2,15 +2,15 @@ import os
import sqlite3
import sqlite3
# Check if database exist
# Check if database exist
if os . path . exists ( os . path . join ( os . path . dirname ( __file__ ) , ' / data/db/bazarr.db' ) ) == True :
if os . path . exists ( os . path . join ( os . path . dirname ( __file__ ) , ' data/db/bazarr.db' ) ) == True :
pass
pass
else :
else :
# Get SQL script from file
# Get SQL script from file
fd = open ( os . path . join ( os . path . dirname ( __file__ ) , ' / create_db.sql' ) , ' r ' )
fd = open ( os . path . join ( os . path . dirname ( __file__ ) , ' create_db.sql' ) , ' r ' )
script = fd . read ( )
script = fd . read ( )
# Open database connection
# Open database connection
db = sqlite3 . connect ( os . path . join ( os . path . dirname ( __file__ ) , ' / data/db/bazarr.db' ) )
db = sqlite3 . connect ( os . path . join ( os . path . dirname ( __file__ ) , ' data/db/bazarr.db' ) )
c = db . cursor ( )
c = db . cursor ( )
# Execute script and commit change to database
# Execute script and commit change to database