diff --git a/AUTHORS b/AUTHORS index 073b632..dc45531 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,6 +11,7 @@ alphabetical order): - Jamie Starke - @jdn06 - Jonas Kaufmann +- Jorge Gallegos - Juan A. Suarez Romero - Kai Fricke - Keith Johnson diff --git a/sigal/image.py b/sigal/image.py index 1388e23..a7eb202 100644 --- a/sigal/image.py +++ b/sigal/image.py @@ -270,7 +270,7 @@ def get_exif_tags(data): else: logger.info('Unknown format for ExposureTime: %r', exptime) - if 'ISOSpeedRatings' in data and data['ISOSpeedRatings']: + if data.get('ISOSpeedRatings'): if isinstance(data['ISOSpeedRatings'], tuple): # Pillow == 3.0 simple['iso'] = data['ISOSpeedRatings'][0]