mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
parent
7f1bc4ac16
commit
dccf6da3f9
1 changed files with 2 additions and 3 deletions
|
@ -46,7 +46,7 @@ def check_and_apply_update():
|
|||
def updated():
|
||||
# from scheduler import shutdown_scheduler
|
||||
# from main import restart
|
||||
|
||||
|
||||
conn = sqlite3.connect(os.path.join(config_dir, 'db/bazarr.db'), timeout=30)
|
||||
c = conn.cursor()
|
||||
c.execute("UPDATE system SET updated = 1")
|
||||
|
@ -57,5 +57,4 @@ def updated():
|
|||
# shutdown_scheduler()
|
||||
|
||||
# Restart Bazarr
|
||||
# restart()
|
||||
|
||||
# restart()
|
Loading…
Reference in a new issue