From 238730eda157e1f10791b34cf8883c9e20a570e7 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 1 Jan 2018 10:31:06 -0500 Subject: [PATCH] Better logging for update --- check_update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_update.py b/check_update.py index 9eb7dab5e..4c2de8633 100644 --- a/check_update.py +++ b/check_update.py @@ -13,8 +13,9 @@ def check_and_apply_update(): result = g.pull('origin', branch) if result.startswith('Already'): logging.info('No new version of Bazarr available.') + elif result.startswith('Updating'): + logging.info('Bazarr updated to latest version and need to be restarted.') else: - #logging.info('Bazarr updated to latest version and need to be restarted.') logging.info(result) updated()