mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't flushMod() unless modified
This commit is contained in:
parent
3de46f701b
commit
9df4b3278f
1 changed files with 1 additions and 1 deletions
|
@ -664,9 +664,9 @@ type = 0 and isDue = 1 and combinedDue <= :now""", now=time.time())
|
|||
ids = self.s.column0("select id from cards where priority = -1")
|
||||
if ids:
|
||||
self.updatePriorities(ids)
|
||||
self.flushMod()
|
||||
self.reviewEarly = False
|
||||
self.newEarly = False
|
||||
self.flushMod()
|
||||
self.checkDue()
|
||||
|
||||
# Times
|
||||
|
|
Loading…
Reference in a new issue