|
@@ -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 ok_login(ip text, sub text)")
|
|
|
curs.execute("create table if not exists filter(name text, regex 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()):
|
|
if(not curs.fetchall()):
|
|
|
curs.execute("insert into alist (name, acl) values ('소유자', 'owner')")
|
|
curs.execute("insert into alist (name, acl) values ('소유자', 'owner')")
|
|
|
|
|
|