Skip to content

Commit

Permalink
Fixed two more missing substitutions.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jul 8, 2015
1 parent 8892d08 commit f2b61cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/command/import_wordpress.py
Expand Up @@ -718,8 +718,8 @@ def import_item(self, item, wordpress_namespace, out_folder=None):
comments.append(comment)

for comment in comments:
comment_filename = out_folder_slug[1] + "." + str(comment['id']) + ".wpcomment"
self._write_comment(os.path.join(self.output_folder, out_folder_slug[0], comment_filename), comment)
comment_filename = slug + "." + str(comment['id']) + ".wpcomment"
self._write_comment(os.path.join(self.output_folder, out_folder, comment_filename), comment)

return (out_folder, slug)
else:
Expand Down

0 comments on commit f2b61cd

Please sign in to comment.