Explorar o código

버그 수정 2

2DU %!s(int64=8) %!d(string=hai) anos
pai
achega
50cc6d757a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -319,7 +319,7 @@ def admin_list():
     i = 1
     div = '<div>'
     
-    curs.execute("select * from user where acl = 'admin' or acl = 'owner'")
+    curs.execute("select * from user where not acl = 'user'")
     user_data = curs.fetchall()
     if(user_data):
         for data in user_data: