mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-13 01:14:38 +08:00
Bug correction in updater
This commit is contained in:
parent
49f06ad51b
commit
7d5c1c235c
1 changed files with 1 additions and 1 deletions
|
@ -15,9 +15,9 @@ def check_and_apply_update():
|
||||||
logging.info('No new version of Bazarr available.')
|
logging.info('No new version of Bazarr available.')
|
||||||
elif result.startswith('Updating'):
|
elif result.startswith('Updating'):
|
||||||
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()
|
||||||
else:
|
else:
|
||||||
logging.info(result)
|
logging.info(result)
|
||||||
updated()
|
|
||||||
|
|
||||||
def updated():
|
def updated():
|
||||||
conn = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'), timeout=30)
|
conn = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'), timeout=30)
|
||||||
|
|
Loading…
Reference in a new issue