From f0ef4ea167455cab5149e141d055ea9078e055b2 Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Wed, 12 Feb 2020 18:53:16 +0300 Subject: [PATCH] Server: Modify update git command for the future usage --- Server/server_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/server_qt.py b/Server/server_qt.py index 45eb0bb..0507215 100644 --- a/Server/server_qt.py +++ b/Server/server_qt.py @@ -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?"):