allow for more cards in a cram deck

This commit is contained in:
Damien Elmes 2012-05-05 23:52:47 +09:00
parent 58257cb5c4
commit 623dff8df0

View file

@ -803,8 +803,8 @@ order by c.mod""" % ((self.dayCutoff-86400)*1000)
data = [] data = []
t = intTime(); u = self.col.usn() t = intTime(); u = self.col.usn()
for c, id in enumerate(ids): for c, id in enumerate(ids):
# start at -1000 so that reviews are all due # start at -100000 so that reviews are all due
data.append((did, -1000+c, t, u, id)) data.append((did, -100000+c, t, u, id))
if deck['cramRev']: if deck['cramRev']:
# everything in the new queue # everything in the new queue
queue = "0" queue = "0"