Przeglądaj źródła

이렇게구나

ect (or 2du) 8 lat temu
rodzic
commit
850ef51214
1 zmienionych plików z 0 dodań i 8 usunięć
  1. 0 8
      app.py

+ 0 - 8
app.py

@@ -1076,14 +1076,6 @@ def update():
         ok = os.system('git reset --hard origin/' + up_data)
         ok = os.system('git reset --hard origin/' + up_data)
         if ok == 0:
         if ok == 0:
             return redirect('/re_start')
             return redirect('/re_start')
-        else:
-            ok = os.system('git pull')
-            if ok == 0:
-                return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-                    imp = [load_lang('update'), wiki_set(), custom(), other2([0, 0])],
-                    data = 'Select Branche Fail <a href="/re_start">(' + load_lang('restart') + ')</a>',
-                    menu = [['manager/1', load_lang('admin')]]
-                ))
     else:
     else:
         if platform.system() == 'Windows':
         if platform.system() == 'Windows':
             print('Download')
             print('Download')