Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/278263c08dda1530b637b31ea71a5aeeb2042954
You should set ROOT_URL correctly, otherwise the web may not work correctly.
6 changed files with
8 additions and
9 deletions
@ -1,7 +1,6 @@
# coding=utf-8
import os
import logging
import sqlite3
import json
import requests
import tarfile
@ -1,6 +1,5 @@
# coding=utf-8
import os
import sqlite3
import requests
import logging
import re
@ -1,7 +1,6 @@
# coding=utf-8
import os
import sqlite3
import pycountry
from get_args import args
@ -1,7 +1,6 @@
# coding=utf-8
import os
import sqlite3
import requests
import logging
from queueconfig import notifications
@ -1,7 +1,6 @@
# coding=utf-8
import os
import sqlite3
import requests
import logging
from queueconfig import notifications
@ -18,17 +18,21 @@ def update_notifier():
notifiers_new = [ ]
notifiers_old = [ ]
notifiers_current = TableSettingsNotifier . select (
notifiers_current _db = TableSettingsNotifier . select (
TableSettingsNotifier . name
)
notifiers_current = [ ]
for notifier in notifiers_current_db :
notifiers_current . append ( notifier . name )
for x in results [ ' schemas ' ] :
if x [ ' service_name ' ] not in str ( notifiers_current ) :
if x [ ' service_name ' ] not in notifiers_current :
notifiers_new . append ( x [ ' service_name ' ] )
logging . debug ( ' Adding new notifier agent: ' + x [ ' service_name ' ] )
else :
notifiers_old . append ( x [ ' service_name ' ] )
notifier_current = [ i . name for i in notifiers_current ]
notifier_current = [ i for i in notifiers_current ]
notifiers_to_delete = list ( set ( notifier_current ) - set ( notifiers_old ) )
@ -42,7 +46,7 @@ def update_notifier():
for notifier_to_delete in notifiers_to_delete :
TableSettingsNotifier . delete ( ) . where (
TableSettingsNotifier . N ame == notifier_to_delete
TableSettingsNotifier . n ame == notifier_to_delete
) . execute ( )