update learn more for new spacing

This commit is contained in:
Damien Elmes 2010-12-02 06:48:45 +09:00
parent b5dd8a9f4b
commit 7dd57887d0

View file

@ -514,6 +514,7 @@ order by combinedDue limit %d""" % self.queueLimit, lim=self.dueCutoff)
self.newCount = self.s.scalar(""" self.newCount = self.s.scalar("""
select count() from cards where type = 2 and combinedDue < :now select count() from cards where type = 2 and combinedDue < :now
""", now=self.dueCutoff) """, now=self.dueCutoff)
self.spacedCards = []
def _updateLearnMoreCountToday(self): def _updateLearnMoreCountToday(self):
self.newCountToday = self.newCount self.newCountToday = self.newCount