瀏覽代碼

아 이건가!

ect (or 2du) 8 年之前
父節點
當前提交
52f458e2a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -1074,7 +1074,7 @@ def update():
 
         os.system('git remote rm origin')
         os.system('git remote add origin https://github.com/2DU/openNAMU.git')
-        ok = os.system('git pull origin master')
+        ok = os.system('git pull origin ' + up_data)
         ok = os.system('git reset --hard origin/' + up_data)
         if ok == 0:
             return redirect('/re_start')