From 8eeed31eb2f86ac982fa4b26f93b15828289c56d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 22 Apr 2021 20:22:47 -0400 Subject: New upstream version 8.1.3. --- nikola/image_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nikola/image_processing.py') 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 -- cgit v1.2.3