From 2cb558f4b4930316423becfe77d65da3e3ccfb53 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Fri, 28 Aug 2020 23:53:17 +0200 Subject: [PATCH] Remove duplicate getLogger --- sigal/image.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sigal/image.py b/sigal/image.py index 3e3df5d..7c29ac0 100644 --- a/sigal/image.py +++ b/sigal/image.py @@ -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