Log result of update process

pull/56/merge
morpheus65535 7 years ago
parent 80c1b44781
commit b96d2b0d8e

@ -12,7 +12,8 @@ def check_and_apply_update():
g = git.cmd.Git(current_working_directory) g = git.cmd.Git(current_working_directory)
result = g.pull('origin', branch) result = g.pull('origin', branch)
if result != 'Already up-to-date.': 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() updated()
else: else:
logging.info('No new version of Bazarr available.') logging.info('No new version of Bazarr available.')

Loading…
Cancel
Save