From e99b5610c5fa0c94656d0cc2f55023f541581ab9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 8 May 2012 01:39:37 +0900 Subject: [PATCH] fix parent limit count --- aqt/deckconf.py | 2 +- aqt/reviewer.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/aqt/deckconf.py b/aqt/deckconf.py index 4662e42b7..0af04c091 100644 --- a/aqt/deckconf.py +++ b/aqt/deckconf.py @@ -146,7 +146,7 @@ class DeckConf(QDialog): return "" lim = -1 for d in self.mw.col.decks.parents(self.deck['id']): - c = self.mw.col.decks.confForDid(d) + c = self.mw.col.decks.confForDid(d['id']) x = c[type]['perDay'] if lim == -1: lim = x diff --git a/aqt/reviewer.py b/aqt/reviewer.py index bfabfe6fb..d61a32ad3 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -676,7 +676,6 @@ function showAnswer(txt) { self.onReplayRecorded() def onReplayRecorded(self): - print "replay" if not self._recordedAudio: return tooltip(_("You haven't recorded your voice yet.")) clearAudioQueue()