Explorar el Código

https://github.com/2DU/openNAMU/issues/351

ect (or 2du) hace 8 años
padre
commit
37e2db3846
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -492,7 +492,7 @@ def image_view(name = None):
 def acl_list():
     div = '<ul>'
 
-    curs.execute("select title, acl from data where acl = 'admin' or acl = 'user' order by acl desc")
+    curs.execute("select title, dec from acl where dec = 'admin' or dec = 'user' order by title desc")
     list_data = curs.fetchall()
     for data in list_data:
         if(not re.search('^사용자:', data[0]) and not re.search('^파일:', data[0])):