From 9999a60656592d0b6b613f5010a0f2863d30591a Mon Sep 17 00:00:00 2001 From: jevans Date: Sun, 16 Feb 2014 21:43:05 -0500 Subject: [PATCH] Improved the warning when an exif tag is bad. #175 --- glymur/_uuid_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glymur/_uuid_io.py b/glymur/_uuid_io.py index d4971a1..ed610e5 100644 --- a/glymur/_uuid_io.py +++ b/glymur/_uuid_io.py @@ -146,7 +146,7 @@ class _Ifd(object): tag_name = tagnum2name[tag] except KeyError: # Ok, we don't recognize this tag. Just use the numeric id. - msg = 'Unrecognized Exif tag "{0}".'.format(tag) + msg = 'Unrecognized Exif tag: {0}'.format(tag) warnings.warn(msg, UserWarning) tag_name = tag self.processed_ifd[tag_name] = value