Server: Modify update git command for the future usage

This commit is contained in:
Arthur Golubtsov
2020-02-12 18:53:16 +03:00
parent f1a24546c9
commit f0ef4ea167

View File

@@ -51,7 +51,7 @@ def restart(): # move to core
os.execv(sys.executable, args)
def update_server():
subprocess.call("git pull --rebase")
subprocess.call("git fetch && git pull --rebase", shell=True)
restart()
def confirmation_required(text="Are you sure?", label="Confirm operation?"):