aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/image_processing.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-04-22 20:23:51 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2021-04-22 20:23:51 -0400
commit5fe4d85d8450575556385f20c46d67887009e245 (patch)
treee07d531240670225499657eff04a16105eb4bb5f /nikola/image_processing.py
parent501ee1930f5424ac00be29a7537a74e30c5d901f (diff)
parent8eeed31eb2f86ac982fa4b26f93b15828289c56d (diff)
Update upstream source from tag 'upstream/8.1.3'
Update to upstream version '8.1.3' with Debian dir ff84f28157b98ab52cbb563f4853d749beb4be60
Diffstat (limited to 'nikola/image_processing.py')
-rw-r--r--nikola/image_processing.py2
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