aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-28 11:23:47 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-28 11:23:47 +0100
commit687d985298957c3689547268928313a104bf6f89 (patch)
treea9448c4fdb5daa6d8e4a7a9c8499fb49f2e7ae65
parentTypo... (diff)
downloadnewspipe-687d985298957c3689547268928313a104bf6f89.tar.gz
newspipe-687d985298957c3689547268928313a104bf6f89.tar.bz2
newspipe-687d985298957c3689547268928313a104bf6f89.zip
Bugfix: unnecessary trailing slash.
-rwxr-xr-xpyaggr3g470r/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py
index e88f5261..a7f8ad64 100755
--- a/pyaggr3g470r/utils.py
+++ b/pyaggr3g470r/utils.py
@@ -299,7 +299,7 @@ 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>' % \
+ 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)) \
for (word, count) in tags])
bgstack15