From 32f790960516a82c269b5933cb38f658ec849ec8 Mon Sep 17 00:00:00 2001 From: Halali Date: Mon, 22 Oct 2018 18:38:21 +0200 Subject: [PATCH] Revert "Trying fix update process" This reverts commit b6bcece0e9912004ed2a6b8fadf8215e52e5bf08. --- bazarr/check_update.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazarr/check_update.py b/bazarr/check_update.py index 4de2fe303..a6999c92a 100644 --- a/bazarr/check_update.py +++ b/bazarr/check_update.py @@ -44,8 +44,8 @@ def check_and_apply_update(): updated() def updated(): - # from scheduler import shutdown_scheduler - # from main import restart + 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() @@ -54,7 +54,7 @@ def updated(): c.close() # Shutdown the scheduler waiting for jobs to finish - # shutdown_scheduler() + shutdown_scheduler() # Restart Bazarr - # restart() \ No newline at end of file + restart() \ No newline at end of file