新增1344题,同步器修复报错

This commit is contained in:
Zane York 2018-04-17 09:20:32 +08:00
parent ee5ff4a6ee
commit 1f8e12e9ea
2 changed files with 3 additions and 0 deletions

BIN
data.db

Binary file not shown.

View File

@ -48,6 +48,9 @@ c = conn.cursor()
conn2 = sqlite3.connect('data2.db')
conn2.text_factory = text_decode
c2 = conn2.cursor()
c2.execute("delete from access_log where quiz not in (select quiz from qustion)")
conn2.commit()
cursor = c.execute("select QUIZ,ACCESS_TIME,IS_EXISTS from ACCESS_LOG")
log1 = {}
for row in cursor: