Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Sep 6, 2015
1 parent f0b94d3 commit f425710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/sitemap/__init__.py
Expand Up @@ -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))

Expand Down

0 comments on commit f425710

Please sign in to comment.