Remove duplicate getLogger

This commit is contained in:
Simon Conseil
2020-08-28 23:53:17 +02:00
parent 435768ccce
commit 2cb558f4b4

View File

@@ -234,7 +234,6 @@ def get_exif_data(filename):
data['GPSInfo'] = {GPSTAGS.get(tag, tag): value
for tag, value in data['GPSInfo'].items()}
except AttributeError:
logger = logging.getLogger(__name__)
logger.info('Failed to get GPS Info')
del data['GPSInfo']
return data