Selaa lähdekoodia

버그 수정 2

2DU 8 vuotta sitten
vanhempi
sitoutus
50cc6d757a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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: