新增1344题,同步器修复报错
This commit is contained in:
parent
ee5ff4a6ee
commit
1f8e12e9ea
|
@ -48,6 +48,9 @@ c = conn.cursor()
|
||||||
conn2 = sqlite3.connect('data2.db')
|
conn2 = sqlite3.connect('data2.db')
|
||||||
conn2.text_factory = text_decode
|
conn2.text_factory = text_decode
|
||||||
c2 = conn2.cursor()
|
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")
|
cursor = c.execute("select QUIZ,ACCESS_TIME,IS_EXISTS from ACCESS_LOG")
|
||||||
log1 = {}
|
log1 = {}
|
||||||
for row in cursor:
|
for row in cursor:
|
||||||
|
|
Loading…
Reference in New Issue