فهرست منبع

이건 어떨까

ect (or 2du) 8 سال پیش
والد
کامیت
1b728e7be5
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      app.py

+ 3 - 2
app.py

@@ -1072,8 +1072,9 @@ def update():
     if platform.system() == 'Linux':
         print('Update')
 
-        os.system('git remote add upstream  https://github.com/2DU/openNAMU.git')
-        ok = os.system('git pull upstream ' + up_data)
+        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)
         if ok == 0:
             return redirect('/re_start')
         else: