Skip to content

Commit

Permalink
Got it...
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 27, 2018
1 parent 74b050b commit b3d8f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/post.py
Expand Up @@ -268,8 +268,8 @@ def __init__(
is_private = False
is_draft = True
else:
LOGGER.warn('The post "{0}" has the unknown status "{1}". ' +
'Valid values are "published", "private" and "draft".'.format(self.source_path, status))
LOGGER.warn(('The post "{0}" has the unknown status "{1}". ' +
'Valid values are "published", "private" and "draft".').format(self.source_path, status))

if self.config['WARN_ABOUT_TAG_METADATA']:
if 'draft' in [_.lower() for _ in self._tags[lang]]:
Expand Down

0 comments on commit b3d8f47

Please sign in to comment.