mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-21 13:37:34 +00:00
Trying fix update process
This commit is contained in:
parent
bc0661c433
commit
b6bcece0e9
1 changed files with 4 additions and 4 deletions
|
@ -44,8 +44,8 @@ def check_and_apply_update():
|
||||||
updated()
|
updated()
|
||||||
|
|
||||||
def updated():
|
def updated():
|
||||||
from scheduler import shutdown_scheduler
|
# from scheduler import shutdown_scheduler
|
||||||
from main import restart
|
# from main import restart
|
||||||
|
|
||||||
conn = sqlite3.connect(os.path.join(config_dir, 'db/bazarr.db'), timeout=30)
|
conn = sqlite3.connect(os.path.join(config_dir, 'db/bazarr.db'), timeout=30)
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
|
@ -54,7 +54,7 @@ def updated():
|
||||||
c.close()
|
c.close()
|
||||||
|
|
||||||
# Shutdown the scheduler waiting for jobs to finish
|
# Shutdown the scheduler waiting for jobs to finish
|
||||||
shutdown_scheduler()
|
# shutdown_scheduler()
|
||||||
|
|
||||||
# Restart Bazarr
|
# Restart Bazarr
|
||||||
restart()
|
# restart()
|
Loading…
Reference in a new issue