|
|
@@ -1076,14 +1076,6 @@ def update():
|
|
|
ok = os.system('git reset --hard origin/' + up_data)
|
|
|
if ok == 0:
|
|
|
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:
|
|
|
if platform.system() == 'Windows':
|
|
|
print('Download')
|