Skip to content

Commit cd17877

Browse files
committedMar 6, 2016
Fixed missing lang.
1 parent 361ca29 commit cd17877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/nikola.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
17371737
if _tag_slugified in slugged_tags[lang]:
17381738
if tag not in self.posts_per_tag:
17391739
# Tags that differ only in case
1740-
other_tag = [existing for existing in self.posts_per_tag.keys() if utils.slugify(existing) == _tag_slugified][0]
1740+
other_tag = [existing for existing in self.posts_per_tag.keys() if utils.slugify(existing, lang) == _tag_slugified][0]
17411741
utils.LOGGER.error('You have tags that are too similar: {0} and {1}'.format(tag, other_tag))
17421742
utils.LOGGER.error('Tag {0} is used in: {1}'.format(tag, post.source_path))
17431743
utils.LOGGER.error('Tag {0} is used in: {1}'.format(other_tag, ', '.join([p.source_path for p in self.posts_per_tag[other_tag]])))

0 commit comments

Comments
 (0)
Please sign in to comment.