This commit is contained in:
Nicolas Duhamel 2011-04-18 23:21:57 +08:00 committed by Alexis Metaireau
commit 93e62c6336

View file

@ -238,7 +238,7 @@ class ArticlesGenerator(Generator):
(
tag,
int(
math.floor(steps - (steps - 1) * math.log(count) / math.log(max_count))
math.floor(steps - (steps - 1) * math.log(count) / (math.log(max_count)or 1))
)
)
for tag, count in tag_cloud