mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
thinko in last change
This commit is contained in:
parent
d480e42f55
commit
02a124b66d
1 changed files with 2 additions and 2 deletions
|
@ -478,10 +478,10 @@ select count(*) from cards where type = 0 and isDue = 1
|
|||
and combinedDue <= :t""", t=time.time())
|
||||
self.revCount = self.s.scalar(
|
||||
"select count(*) from cards where "
|
||||
"type = 1 and priority in (1,2,3,4)")
|
||||
"type = 1 and priority in (1,2,3,4) and isDue = 1")
|
||||
self.newCount = self.s.scalar(
|
||||
"select count(*) from cards where "
|
||||
"type = 2 and priority in (1,2,3,4)")
|
||||
"type = 2 and priority in (1,2,3,4) and isDue = 1")
|
||||
|
||||
def checkDue(self):
|
||||
"Mark expired cards due, and update counts."
|
||||
|
|
Loading…
Reference in a new issue