mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 23:19:33 +00:00
Server: Modify update git command for the future usage
This commit is contained in:
@@ -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?"):
|
||||
|
||||
Reference in New Issue
Block a user