mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
replace facts, don't ignore them
This commit is contained in:
parent
6172400706
commit
a0adccc117
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ where factId in %s""" % factIds))
|
|||
"select count(*) from facts where id in %s" %
|
||||
ids2str([f[0] for f in facts])))
|
||||
self.deck.s.execute("""
|
||||
insert or ignore into facts
|
||||
insert or replace into facts
|
||||
(id, modelId, created, modified, tags, spaceUntil, lastCardId)
|
||||
values
|
||||
(:id, :modelId, :created, :modified, :tags, :spaceUntil, :lastCardId)""", dlist)
|
||||
|
|
Loading…
Reference in a new issue