aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyexiv2.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index c679302..012dc54 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -588,14 +588,11 @@ class XmpTag(MetadataTag):
else:
return {'type': mtype, 'subtype': msubtype}
- elif xtype == 'ProperName':
- # TODO
- return value
elif xtype == 'Real':
# TODO
return value
- elif xtype == 'Text':
+ elif xtype in ('ProperName', 'Text'):
try:
return unicode(value, 'utf-8')
except TypeError: