Explorar o código

버그 수정

2DU %!s(int64=8) %!d(string=hai) anos
pai
achega
f021951e1f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')")