|
|
|
@ -15,9 +15,9 @@ def check_and_apply_update():
|
|
|
|
|
logging.info('No new version of Bazarr available.')
|
|
|
|
|
elif result.startswith('Updating'):
|
|
|
|
|
logging.info('Bazarr updated to latest version and need to be restarted.')
|
|
|
|
|
updated()
|
|
|
|
|
else:
|
|
|
|
|
logging.info(result)
|
|
|
|
|
updated()
|
|
|
|
|
|
|
|
|
|
def updated():
|
|
|
|
|
conn = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'), timeout=30)
|
|
|
|
|