mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
must set factor when cards are rescheduled as a review
This commit is contained in:
parent
336b1e7c58
commit
f963a31d9c
1 changed files with 2 additions and 2 deletions
|
@ -1039,10 +1039,10 @@ your short-term review workload will become."""))
|
|||
for id in ids:
|
||||
r = random.randint(imin, imax)
|
||||
d.append(dict(id=id, due=r+t, ivl=max(1, r), mod=mod,
|
||||
usn=self.col.usn()))
|
||||
usn=self.col.usn(), fact=2500))
|
||||
self.col.db.executemany("""
|
||||
update cards set type=2,queue=2,ivl=:ivl,due=:due,
|
||||
usn=:usn, mod=:mod where id=:id and odid=0""",
|
||||
usn=:usn, mod=:mod, factor=:fact where id=:id and odid=0""",
|
||||
d)
|
||||
|
||||
# Repositioning new cards
|
||||
|
|
Loading…
Reference in a new issue