|
|
@ -29,7 +29,7 @@ def check_and_apply_update():
|
|
|
|
result = g.pull('origin', branch)
|
|
|
|
result = g.pull('origin', branch)
|
|
|
|
if result.startswith('Already'):
|
|
|
|
if result.startswith('Already'):
|
|
|
|
logging.info('No new version of Bazarr available.')
|
|
|
|
logging.info('No new version of Bazarr available.')
|
|
|
|
elif result.startswith('Updating'):
|
|
|
|
elif result.startswith('Updating') or result.startswith('Merge made'):
|
|
|
|
logging.info('Bazarr updated to latest version and need to be restarted.')
|
|
|
|
logging.info('Bazarr updated to latest version and need to be restarted.')
|
|
|
|
updated()
|
|
|
|
updated()
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|