diff --git a/bazarr/check_update.py b/bazarr/check_update.py index 62a906bc5..4de2fe303 100644 --- a/bazarr/check_update.py +++ b/bazarr/check_update.py @@ -46,7 +46,7 @@ def check_and_apply_update(): def updated(): # from scheduler import shutdown_scheduler # from main import restart - + conn = sqlite3.connect(os.path.join(config_dir, 'db/bazarr.db'), timeout=30) c = conn.cursor() c.execute("UPDATE system SET updated = 1") @@ -57,5 +57,4 @@ def updated(): # shutdown_scheduler() # Restart Bazarr - # restart() - \ No newline at end of file + # restart() \ No newline at end of file