add seen card count back for plugins

This commit is contained in:
Damien Elmes 2011-01-02 13:05:18 +09:00
parent d56bddea2d
commit 329ab99ff7

View file

@ -1343,6 +1343,10 @@ combinedDue > :now and due < :now""", now=time.time())
return self.s.scalar(
"select count(id) from cards where relativeDelay = 2")
def seenCardCount(self):
return self.s.scalar(
"select count(id) from cards where relativeDelay between 0 and 1")
# Card predicates
##########################################################################