aboutsummaryrefslogtreecommitdiff
path: root/src/web/lib/misc_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/lib/misc_utils.py')
-rwxr-xr-xsrc/web/lib/misc_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/lib/misc_utils.py b/src/web/lib/misc_utils.py
index 07cb6ed5..ea0b18ce 100755
--- a/src/web/lib/misc_utils.py
+++ b/src/web/lib/misc_utils.py
@@ -272,8 +272,8 @@ def tag_cloud(tags):
Generates a tags cloud.
"""
tags.sort(key=operator.itemgetter(0))
- return '\n'.join([('<font size=%d><a href="/search?query=%s" title="Count: %s">%s</a></font>' % \
- (min(1 + count * 7 / max([tag[1] for tag in tags]), 7), word, format(count, ',d'), word)) \
+ return '\n'.join([('<font size=%d>%s</font>' % \
+ (min(1 + count * 7 / max([tag[1] for tag in tags]), 7), word)) \
for (word, count) in tags])
if __name__ == "__main__":
bgstack15