diff --git a/src/plugins/gramplet/MediaMetadata.py b/src/plugins/gramplet/MediaMetadata.py index c487cb55b..ee35738dc 100644 --- a/src/plugins/gramplet/MediaMetadata.py +++ b/src/plugins/gramplet/MediaMetadata.py @@ -448,13 +448,15 @@ def _get_value(KeyTag, image): if "Exif" in KeyTag: try: KeyValue = image[KeyTag].raw_value + except KeyError: - KeyValue = image[KeyTag].value + KeyValue = "" # Iptc KeyValue family? else: try: - KeyValue = image[KeyTag].value + KeyValue = image[KeyTag] + except KeyError: KeyValue = ""