From 127d9b9bc755de227a16569dc6a041c68990db86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 22 Oct 2018 21:25:30 -0400 Subject: [PATCH] Removing auto-restart after updating from source. This is raising too much issues. --- bazarr/check_update.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bazarr/check_update.py b/bazarr/check_update.py index a6999c92a..d20facf80 100644 --- a/bazarr/check_update.py +++ b/bazarr/check_update.py @@ -44,17 +44,8 @@ def check_and_apply_update(): updated() 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") conn.commit() - c.close() - - # Shutdown the scheduler waiting for jobs to finish - shutdown_scheduler() - - # Restart Bazarr - restart() \ No newline at end of file + c.close() \ No newline at end of file