Parcourir la source

부등호 수정 2

잉여개발기 (SPDV) il y a 6 ans
Parent
commit
caf434c531
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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')]]
-    ))
+    ))