Skip to content

Commit

Permalink
ctrl+s mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Aug 27, 2015
1 parent e586200 commit d9c26d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/indexes.py
Expand Up @@ -181,7 +181,7 @@ def cat_path(i, displayed_i, num_pages, force_addition, extension=None):
destpath = p.destination_path(lang)
if destpath[-(1 + index_len):] == '/' + kw['index_file']:
destpath = destpath[:-(1 + index_len)]
s = os.path.dirname(destpath)
dirname = os.path.dirname(destpath)
groups[dirname].append(p)
for dirname, post_list in groups.items():
context = {}
Expand Down

0 comments on commit d9c26d3

Please sign in to comment.