fix little bug checking for wrong condition

svn: r14158
This commit is contained in:
Gerald Britton 2010-01-28 19:35:51 +00:00
parent 7533064c1a
commit 90a172393d

View File

@ -838,7 +838,7 @@ class StatisticsChart(Report):
pad = row_h * 0.5 pad = row_h * 0.5
# check maximum value # check maximum value
max_value = max(data[k] for k in lookup) if data else 0 max_value = max(data[k] for k in lookup) if lookup else 0
# horizontal area for the gfx bars # horizontal area for the gfx bars
margin = 1.0 margin = 1.0
middle = width/2.0 middle = width/2.0