Skip to content
Browse files
fix #1784 -- fix listings/index.html path on Windows
  • Loading branch information
Kwpolska committed Jun 4, 2015
1 parent 803cbb6 commit f7ae41ae8b9ad5dc308a7dcae5dd27b8639fdf8c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -256,7 +256,7 @@ def listing_path(self, namep, lang):
utils.LOGGER.error("Unknown listing name {0}!".format(namep))
if not name.endswith('/' +["INDEX_FILE"]):
if not name.endswith(os.sep +["INDEX_FILE"]):
name += '.html'
path_parts = list(os.path.split(name))
return [_f for _f in path_parts if _f]

0 comments on commit f7ae41a

Please sign in to comment.