From 525787b33fa7e90818c570173c423da6e639c163 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 30 Mar 2011 20:50:33 +0900 Subject: [PATCH] tweak call args --- anki/graphs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anki/graphs.py b/anki/graphs.py index 3994b58ab..7736df7e5 100644 --- a/anki/graphs.py +++ b/anki/graphs.py @@ -20,18 +20,18 @@ colSusp = "#ff0" class Graphs(object): - def __init__(self, deck, selective=True): + def __init__(self, deck): self.deck = deck self._stats = None - self.selective = selective self.type = 0 self.width = 600 self.height = 200 - def report(self, type=0): + def report(self, type=0, selective=True): # 0=days, 1=weeks, 2=months # period-dependent graphs self.type = type + self.selective = selective txt = self.css txt += self.dueGraph() txt += self.repsGraph()