don't show spaced cards notice if no new cards are left

This commit is contained in:
Damien Elmes 2009-01-31 03:58:58 +09:00
parent 3b8df0c337
commit 40ed30b4ea

View file

@ -678,7 +678,7 @@ and priority in (1,2,3,4) and type in (0, 1)""", time=time)
def deckFinishedMsg(self):
spaceSusp = ""
c = self.spacedCardCount()
if c:
if c and self.newCountToday:
spaceSusp += ngettext('''
There is <b>%d</b>
<a href="http://ichi2.net/anki/wiki/Key_Terms_and_Concepts#head-787faa3eb21d7962f7719dc2722d34b7d74035ae">