Skip to content

Commit b6d8c0e

Browse files
committedJul 12, 2015
Forgot to add .wp extension.
1 parent 487fdc4 commit b6d8c0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎nikola/plugins/command/import_wordpress.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,9 @@ def populate_context(self, channel):
401401
author,
402402
'{{{0}}}author_display_name'.format(wordpress_namespace),
403403
"Joe Example")
404-
extensions = ['rst', 'txt', 'md']
405-
if self.transform_to_html:
406-
extensions.append('html')
404+
extensions = ['rst', 'txt', 'md', 'html']
405+
if self.use_wordpress_compiler:
406+
extensions.append('wp')
407407
POSTS = '(\n'
408408
PAGES = '(\n'
409409
for extension in extensions:

0 commit comments

Comments
 (0)
Please sign in to comment.