Jelajahi Sumber

버그 수정

2DU 8 tahun lalu
induk
melakukan
fb935287b4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -165,7 +165,7 @@ def setup():
         curs.execute("create table if not exists ok_login(ip text, sub text)")
         curs.execute("create table if not exists filter(name text, regex text, sub text)")
 
-        curs.execute("select name from alist where = '소유자'")
+        curs.execute("select name from alist where name = '소유자'")
         if(not curs.fetchall()):
             curs.execute("insert into alist (name, acl) values ('소유자', 'owner')")