[fix] error percentage @ stats page

This commit is contained in:
asciimoo 2014-01-05 01:00:32 +01:00
parent d13c5aa37b
commit 53878fde2d

View file

@ -261,7 +261,7 @@ def get_engines_stats():
for engine in errors:
if max_errors:
engine['percentage'] = int(engine['avg']/max_errors*100)
engine['percentage'] = int(float(engine['avg'])/max_errors*100)
else:
engine['percentage'] = 0