diff options
Diffstat (limited to 'nikola/image_processing.py')
| -rw-r--r-- | nikola/image_processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nikola/image_processing.py b/nikola/image_processing.py index 04d4e64..b1d58c2 100644 --- a/nikola/image_processing.py +++ b/nikola/image_processing.py @@ -66,7 +66,7 @@ class ImageProcessor(object): self._fill_exif_tag_names() exif = exif.copy() # Don't modify in-place, it's rude for k in list(exif.keys()): - if type(exif[k]) != dict: + if not isinstance(exif[k], dict): pass # At least thumbnails have no fields elif k not in whitelist: exif.pop(k) # Not whitelisted, remove |
