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

+ 0 - 2
app.py

@@ -1079,8 +1079,6 @@ def update():
         else:
             ok = os.system('git pull')
             if ok == 0:
-                return redirect('/re_start')
-            else:
                 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>',