Revert "Trying fix update process"

This reverts commit b6bcece0e9.
pull/222/head
Halali 6 years ago
parent dccf6da3f9
commit 32f7909605

@ -44,8 +44,8 @@ def check_and_apply_update():
updated()
def updated():
# from scheduler import shutdown_scheduler
# from main import restart
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()
@ -54,7 +54,7 @@ def updated():
c.close()
# Shutdown the scheduler waiting for jobs to finish
# shutdown_scheduler()
shutdown_scheduler()
# Restart Bazarr
# restart()
restart()
Loading…
Cancel
Save