Simplify test for #199 and add author to AUTHORS
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -11,6 +11,7 @@ alphabetical order):
|
||||
- Jamie Starke
|
||||
- @jdn06
|
||||
- Jonas Kaufmann
|
||||
- Jorge Gallegos
|
||||
- Juan A. Suarez Romero
|
||||
- Kai Fricke
|
||||
- Keith Johnson
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user