1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-24 16:52:06 +00:00

Log result of update process

This commit is contained in:
morpheus65535 2017-12-30 08:23:45 -05:00
parent 80c1b44781
commit b96d2b0d8e

View file

@ -12,7 +12,8 @@ def check_and_apply_update():
g = git.cmd.Git(current_working_directory)
result = g.pull('origin', branch)
if result != 'Already up-to-date.':
logging.info('Bazarr updated to latest version and need to be restarted.')
#logging.info('Bazarr updated to latest version and need to be restarted.')
logging.info(result)
updated()
else:
logging.info('No new version of Bazarr available.')