Fix crash in fanchart on 8 (max) generations)

svn: r20290
This commit is contained in:
Benny Malengier 2012-08-30 13:16:06 +00:00
parent 069c1c1ced
commit 9dff627eb4

View File

@ -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: