Skip to content

Commit

Permalink
Fixed syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 2, 2016
1 parent 9376a39 commit da3f0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/sections.py
Expand Up @@ -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
Expand Down

0 comments on commit da3f0be

Please sign in to comment.