Browse Source

뒤집기

2DU 9 năm trước cách đây
mục cha
commit
5a0fb55c1a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -1196,7 +1196,7 @@ def gethistory(name = None, number = None):
                     if(number != 1):
                         div = div + '<br><a href="/history/' + parse.quote(name).replace('/','%2F') + '/n/' + str(number - 1) + '">(이전)'
                     break
-                select = select + '<option value="' + str(i + 1) + '">' + str(i + 1) + '</option>'
+                select = '<option value="' + str(i + 1) + '">' + str(i + 1) + '</option>' + select
                 if(rows[i]['send']):
                     send = rows[i]['send']
                     send = re.sub('<a href="\/w\/(?P<in>[^"]*)">(?P<out>[^&]*)<\/a>', '<a href="/w/\g<in>">\g<out></a>', send)