Jelajahi Sumber

버그 수정

ect (or 2du) 8 tahun lalu
induk
melakukan
4d4565ac9a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -2849,7 +2849,7 @@ def read_view(name = None, num = None, redirect = None):
         sub = ' (' + str(num) + '판)'
         acl = ''
     else:
-        curs.execute("select date from history where title = ? limit 1", [name])
+        curs.execute("select date from history where title = ? order by date desc limit 1", [name])
         date = curs.fetchall()
         if(date):
             r_date = date[0][0]