mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
Better logging for update
This commit is contained in:
parent
4a449a285c
commit
238730eda1
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue