Fixed a bug where the keywords entry was not being displayed and therefore only Active Image and Description were being displayed.
svn: r16759
This commit is contained in:
parent
d8d4acb2e0
commit
db1c7c4b25
@ -444,22 +444,12 @@ def _get_value(KeyTag, image):
|
|||||||
@param: image -- pyexiv2 ImageMetadata instance
|
@param: image -- pyexiv2 ImageMetadata instance
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Exif KeyValue Family?
|
|
||||||
if "Exif" in KeyTag:
|
|
||||||
try:
|
try:
|
||||||
KeyValue = image[KeyTag].raw_value
|
KeyValue = image[KeyTag].raw_value
|
||||||
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
KeyValue = ""
|
KeyValue = ""
|
||||||
|
|
||||||
# Iptc KeyValue family?
|
|
||||||
else:
|
|
||||||
try:
|
|
||||||
KeyValue = image[KeyTag]
|
|
||||||
|
|
||||||
except KeyError:
|
|
||||||
KeyValue = ""
|
|
||||||
|
|
||||||
return KeyValue
|
return KeyValue
|
||||||
|
|
||||||
def rational_to_dms(rational_coords):
|
def rational_to_dms(rational_coords):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user