mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
accept a string did in remDyn()
This commit is contained in:
parent
625a77f7f8
commit
4b3e1f0d2b
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ did = ? and queue = 2 and due <= ? limit ?""",
|
|||
|
||||
def remDyn(self, did, lim=None):
|
||||
if not lim:
|
||||
lim = "did = %d" % did
|
||||
lim = "did = %s" % did
|
||||
self.col.db.execute("""
|
||||
update cards set did = odid, queue = type, due = odue, odue = 0, odid = 0,
|
||||
usn = ?, mod = ? where %s""" % lim, self.col.usn(), intTime())
|
||||
|
|
Loading…
Reference in a new issue