changeset 830:a825700c01e4

server (blog): fixes typo in a dict declaration
author souliane <souliane@mailoo.org>
date Sat, 09 Jan 2016 12:14:39 +0100
parents c1000ea40e6c
children 25931797db20
files src/server/blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server/blog.py	Sat Jan 09 12:59:07 2016 +0100
+++ b/src/server/blog.py	Sat Jan 09 12:14:39 2016 +0100
@@ -599,7 +599,7 @@
 
             delta = comments_count - len(comments)
             if request.display_single and delta > 0:
-                prev_url = "{}?{}".format(self.url, urllib.urlencode({'comments_max', comments_count}))
+                prev_url = "{}?{}".format(self.url, urllib.urlencode({'comments_max': comments_count}))
                 prev_text = D_("show {count} previous {comments}").format(
                     count = delta, comments = count_text(delta))
                 self.all_comments_link = BlogLink(prev_url, "comments_link", prev_text)