comparison src/server/blog.py @ 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
comparison
equal deleted inserted replaced
829:c1000ea40e6c 830:a825700c01e4
597 597
598 self.comments_text = u"{} {}".format(comments_count, count_text(comments_count)) 598 self.comments_text = u"{} {}".format(comments_count, count_text(comments_count))
599 599
600 delta = comments_count - len(comments) 600 delta = comments_count - len(comments)
601 if request.display_single and delta > 0: 601 if request.display_single and delta > 0:
602 prev_url = "{}?{}".format(self.url, urllib.urlencode({'comments_max', comments_count})) 602 prev_url = "{}?{}".format(self.url, urllib.urlencode({'comments_max': comments_count}))
603 prev_text = D_("show {count} previous {comments}").format( 603 prev_text = D_("show {count} previous {comments}").format(
604 count = delta, comments = count_text(delta)) 604 count = delta, comments = count_text(delta))
605 self.all_comments_link = BlogLink(prev_url, "comments_link", prev_text) 605 self.all_comments_link = BlogLink(prev_url, "comments_link", prev_text)
606 606
607 if comments: 607 if comments: