Skip to content

Commit

Permalink
Fix #1917
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Jul 30, 2015
1 parent 7d49ea3 commit 292a04a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGES.txt
@@ -1,3 +1,12 @@
New in Master
=============

Bugfixes
--------

* Handle non-integer shutter speeds in WP importer (Issue #1917)


New in v7.6.2
=============

Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/command/import_wordpress.py
Expand Up @@ -530,7 +530,7 @@ def add(our_key, wp_key, is_int=False, ignore_zero=False):
add('copyright', b'copyright')
add('focal_length', b'focal_length', is_int=True, ignore_zero=True)
add('iso', b'iso', is_int=True, ignore_zero=True)
add('shutter_speed', b'shutter_speed', is_int=True, ignore_zero=True)
add('shutter_speed', b'shutter_speed', is_int=False, ignore_zero=True)
add('title', b'title')

if len(dst_meta) > 0:
Expand Down

0 comments on commit 292a04a

Please sign in to comment.