Skip to content
Permalink
Browse files

Fixed syntax error.

  • Loading branch information
felixfontein committed Dec 2, 2016
1 parent 9376a39 commit da3f0bee803dbbcb3a4a3b1e7334fb992bd6a278
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/sections.py
@@ -95,7 +95,7 @@ def provide_context_and_uptodate(self, section, lang, node=None):
if isinstance(posts_section_title, dict):
if section in posts_section_title:
section_title = posts_section_title[section]
elif isinstance(posts_section_title, utils.bytes_str, utils.unicode_str):
elif isinstance(posts_section_title, (utils.bytes_str, utils.unicode_str)):
section_title = posts_section_title
section_title = section_title.format(name=section_name)
# Compose context

0 comments on commit da3f0be

Please sign in to comment.