소스 검색

부등호 수정 2

잉여개발기 (SPDV) 6 년 전
부모
커밋
caf434c531
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      route/list_old_page.py

+ 2 - 2
route/list_old_page.py

@@ -10,7 +10,7 @@ def list_old_page_2(conn):
         sql_num = 0
 
     curs.execute(db_change('select data from other where name = "count_all_title"'))
-    if int(curs.fetchall()[0][0]) < 30000:
+    if int(curs.fetchall()[0][0]) > 30000:
         return re_error('/error/25')
 
     div = '<ul>'
@@ -34,4 +34,4 @@ def list_old_page_2(conn):
         imp = [load_lang('old_page'), wiki_set(), custom(), other2([0, 0])],
         data = div,
         menu = [['other', load_lang('return')]]
-    ))
+    ))