ect (or 2du) 8 년 전
부모
커밋
5e0488aeb1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app.py

+ 2 - 2
app.py

@@ -398,9 +398,9 @@ def recent_changes(name = None, num = 1):
             
         i = v - 50
 
-        curs.execute("select id, title, date, ip, send, leng from history where ip = ? and not date = 'Dump' order by date desc limit ?, ?", [name, str(i), str(v)])
+        curs.execute("select id, title, date, ip, send, leng from history where ip = ? order by date desc limit ?, ?", [name, str(i), str(v)])
     else:
-        curs.execute("select id, title, date, ip, send, leng from history order by date desc limit 50")
+        curs.execute("select id, title, date, ip, send, leng from history where not date = 'Dump' order by date desc limit 50")
 
     rows = curs.fetchall()