From 9dff627eb4bd1d0f4d4d9af9a1172cec49169dbc Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 30 Aug 2012 13:16:06 +0000 Subject: [PATCH] Fix crash in fanchart on 8 (max) generations) svn: r20290 --- src/plugins/drawreport/FanChart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/drawreport/FanChart.py b/src/plugins/drawreport/FanChart.py index c1aa2f98d..c7d8756e0 100644 --- a/src/plugins/drawreport/FanChart.py +++ b/src/plugins/drawreport/FanChart.py @@ -166,7 +166,7 @@ class FanChart(Report): self.background_style = [] self.text_style = [] - for i in range (0, self.max_generations): + for i in range (0, self.max_generations+1): if self.background == BACKGROUND_WHITE: background_style_name = 'background_style_white' else: