mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 17:17:12 +00:00
Log result of update process
This commit is contained in:
parent
80c1b44781
commit
b96d2b0d8e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue