from .tool.func import * def list_long_page(tool = 'long_page'): with get_db_connect() as conn: curs = conn.cursor() curs.execute(db_change('select data from other where name = "count_all_title"')) if int(curs.fetchall()[0][0]) > 30000: return re_error('/error/25') div = '' return easy_minify(flask.render_template(skin_check(), imp = [load_lang(title), wiki_set(), wiki_custom(), wiki_css([0, 0])], data = div, menu = [['other', load_lang('return')]] ))