Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing #2264.
  • Loading branch information
felixfontein committed Mar 6, 2016
1 parent f347e37 commit d6dbf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/command/import_wordpress.py
Expand Up @@ -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('/'))))
Expand Down

0 comments on commit d6dbf14

Please sign in to comment.