Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f2b61cd

Browse files
committedJul 8, 2015
Fixed two more missing substitutions.
1 parent 8892d08 commit f2b61cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎nikola/plugins/command/import_wordpress.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@ def import_item(self, item, wordpress_namespace, out_folder=None):
718718
comments.append(comment)
719719

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

724724
return (out_folder, slug)
725725
else:

0 commit comments

Comments
 (0)
Please sign in to comment.