From 2e52ce2df1fdb062ecefba0abcb051379e420433 Mon Sep 17 00:00:00 2001 From: ospalh Date: Fri, 12 Oct 2012 17:03:52 +0200 Subject: [PATCH] Fix closing quote to match opening quote. --- anki/sched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sched.py b/anki/sched.py index 293580686..1e511ad1b 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -1275,7 +1275,7 @@ and due >= ? and queue = 0""" % scids, now, self.col.usn(), shiftby, low) "select id, nid from cards where type = 0 and id in "+scids): d.append(dict(now=now, due=due[nid], usn=self.col.usn(), cid=id)) self.col.db.executemany( - "update cards set due=:due,mod=:now,usn=:usn where id = :cid""", d) + "update cards set due=:due,mod=:now,usn=:usn where id = :cid", d) def randomizeCards(self, did): cids = self.col.db.list("select id from cards where did = ?", did)