Better logging for update

This commit is contained in:
morpheus65535 2018-01-01 10:31:06 -05:00
parent 4a449a285c
commit 238730eda1

View file

@ -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()