diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-01-27 09:34:19 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-01-27 09:34:19 +0100 |
commit | 4eb5914ee396b6eb0c3f4ede4dfaa1e6107c0851 (patch) | |
tree | 61d930da4e6e327c8b5c2fc7c6a20ae80944229a /src/pyexiv2.py | |
parent | 55697d8319dc62729ef53651f2fef408f06e2d50 (diff) | |
download | pyexiv2-4eb5914ee396b6eb0c3f4ede4dfaa1e6107c0851.tar.gz |
XMP ProperName conversion + unit tests.
Diffstat (limited to 'src/pyexiv2.py')
-rw-r--r-- | src/pyexiv2.py | 5 |
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: |