Skip to content
Permalink
Browse files

Fixing #2264.

  • Loading branch information
felixfontein committed Mar 6, 2016
1 parent f347e37 commit d6dbf1458f8e3b4356f1e62efdd2b9860c23ac6e
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/command/import_wordpress.py
@@ -562,8 +562,8 @@ def add(our_key, wp_key, is_int=False, ignore_zero=False, is_float=False):
meta = {}
meta['size'] = size.decode('utf-8')
if width_key in metadata[size_key][size] and height_key in metadata[size_key][size]:
meta['width'] = metadata[size_key][size][width_key]
meta['height'] = metadata[size_key][size][height_key]
meta['width'] = int(metadata[size_key][size][width_key])
meta['height'] = int(metadata[size_key][size][height_key])

path = urlparse(url).path
dst_path = os.path.join(*([self.output_folder, 'files'] + list(path.split('/'))))

0 comments on commit d6dbf14

Please sign in to comment.
You can’t perform that action at this time.