Skip to content
Permalink
Browse files

flake8

  • Loading branch information
da2x committed Sep 6, 2015
1 parent f0b94d3 commit f4257102e002a37ff168b72852a38181814fed78
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/sitemap/__init__.py
@@ -155,7 +155,7 @@ def scan_locs():
sitemap_path = os.path.join(root, "sitemap.xml")
else:
sitemap_path = os.path.join(output_path, "sitemap.xml")
if not sitemap_path in urlset:
if sitemap_path not in urlset:
urlset[sitemap_path] = {}
sitemapindex[sitemap_path] = sitemap_format.format(self.site.abs_link(os.path.relpath(sitemap_path, output_path)), self.get_lastmod(sitemap_path))

0 comments on commit f425710

Please sign in to comment.
You can’t perform that action at this time.