Bug correction in updater

This commit is contained in:
morpheus65535 2018-01-01 14:35:32 -05:00
parent 49f06ad51b
commit 7d5c1c235c

View file

@ -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)