多写了一个逗号导致公共ck插入不了

This commit is contained in:
CMHopeSunshine 2022-04-12 17:43:52 +08:00
parent aaa220f918
commit 8175622c37

View File

@ -102,7 +102,7 @@ async def insert_public_cookie(cookie):
(
no int IDENTITY(1,1) PRIMARY KEY,
cookie TEXT,
status TEXT,
status TEXT
);''')
cursor.execute('INSERT IGNORE INTO public_cookies (cookie, status) VALUES (?,"OK");', (cookie,))
conn.commit()