ect (or 2du) 8 سال پیش
والد
کامیت
1a4ada71d1
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 ' + up_data)
+        ok = os.system('git fetch origin ' + up_data)
         ok = os.system('git reset --hard origin/' + up_data)
         if ok == 0:
             return redirect('/re_start')