Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #2340
  • Loading branch information
ralsina committed Jun 4, 2016
1 parent f17e265 commit af2c57f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -11,6 +11,7 @@ Features
Bugfixes
--------

* Fix handling of some wordpress dumps (Issue #2340)
* When using the plugin command, load ALL plugins (Issue #2359)
* Fix plugin removal for plugins that are a package (Issue #2356)
* Reload English messages for every theme to prevent caching (Issue #2347)
Expand Down
2 changes: 2 additions & 0 deletions nikola/plugins/command/import_wordpress.py
Expand Up @@ -541,6 +541,8 @@ def import_attachment(self, item, wordpress_namespace):

if meta_key in metadata:
image_meta = metadata[meta_key]
if not image_meta:
continue
dst_meta = {}

def add(our_key, wp_key, is_int=False, ignore_zero=False, is_float=False):
Expand Down

0 comments on commit af2c57f

Please sign in to comment.