Be sure to update DB schemas when loading main page

pull/26/head
morpheus65535 7 years ago
parent 24958ce256
commit a4cbf4e5f9

@ -115,6 +115,8 @@ def image_proxy(url):
@route(base_url)
def series():
import update_db
db = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'), timeout=30)
db.create_function("path_substitution", 1, path_replace)
c = db.cursor()

Loading…
Cancel
Save