Improved the warning when an exif tag is bad. #175
This commit is contained in:
parent
3c333e999d
commit
9999a60656
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue