Browse Source

300으로 증가

잉여개발기 (SPDV) 2 years ago
parent
commit
7152099b3c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      emergency_tool.py
  2. 1 1
      route/main_sys_update.py

+ 1 - 1
emergency_tool.py

@@ -200,7 +200,7 @@ elif what_i_do == '19':
 
         ok += [os.system('git remote rm origin')]
         ok += [os.system('git remote add origin https://github.com/opennamu/opennamu.git')]
-        ok += [os.system('git fetch --depth=10 origin ' + up_data)]
+        ok += [os.system('git fetch --depth=300 origin ' + up_data)]
         ok += [os.system('git reset --hard origin/' + up_data)]
         if (ok[0] and ok[1] and ok[2] and ok[3]) != 0:
             print('Error : update failed')

+ 1 - 1
route/main_sys_update.py

@@ -24,7 +24,7 @@ def main_sys_update():
 
                 ok += [os.system('git remote rm origin')]
                 ok += [os.system('git remote add origin https://github.com/opennamu/opennamu.git')]
-                ok += [os.system('git fetch --depth=100 origin ' + up_data)]
+                ok += [os.system('git fetch --depth=300 origin ' + up_data)]
                 ok += [os.system('git reset --hard origin/' + up_data)]
                 if (ok[0] and ok[1] and ok[2] and ok[3]) == 0:
                     return redirect('/restart')