Commit cc336bf5 by Eric Coissac

patch error on count attribute (work around)

parent 6ff80057
......@@ -128,7 +128,10 @@ if __name__ == "__main__":
lcat=4
category=tuple(category)
catcount[category]=catcount.get(category,0)+1
totcount[category]=totcount.get(category,0)+s['count']
try:
totcount[category]=totcount.get(category,0)+s['count']
except KeyError:
totcount[category]=totcount.get(category,0)+1
for var in options.statistics:
if var in s:
v = s[var]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment