fix restart after update

pull/1247/head
josdion 5 years ago
parent a8258006b5
commit a067d10352

@ -283,7 +283,7 @@ def request_json(url, **kwargs):
def updated(restart=True): def updated(restart=True):
if settings.general.getboolean('update_restart') and restart: if settings.general.getboolean('update_restart') and restart:
from main import Server from server import webserver
Server.restart() webserver.restart()
else: else:
database.execute("UPDATE system SET updated='1'") database.execute("UPDATE system SET updated='1'")

Loading…
Cancel
Save