Skip to content
Permalink
Browse files
Removing assert.
  • Loading branch information
felixfontein committed Dec 9, 2016
1 parent 6fad65a commit d44155279c4a3deb055d12b19f75c61039b23d22
Showing with 0 additions and 1 deletion.
  1. +0 −1 nikola/nikola.py
@@ -2407,7 +2407,6 @@ def generic_index_renderer(self, lang, posts, indexes_title, template_name, cont
if not lists:
lists.append([])
num_pages = len(lists)
assert num_pages >= 1
displayed_page_numbers = [utils.get_displayed_page_number(i, num_pages, self) for i in range(num_pages)]
page_links = [page_link(i, page_number, num_pages, False) for i, page_number in enumerate(displayed_page_numbers)]
if kw['show_index_page_navigation']:

0 comments on commit d441552

Please sign in to comment.