diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-02-06 18:59:10 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-02-06 18:59:10 +0100 |
commit | 1e3ce8ad1f2bfb030665523001aa4bec718a1b6d (patch) | |
tree | 5e1756d815658a43a8e8c3481c47340e47cab30a /src/pyexiv2.py | |
parent | 0470d9eca9935aa8127933a1867c7bf63484b73a (diff) | |
download | pyexiv2-1e3ce8ad1f2bfb030665523001aa4bec718a1b6d.tar.gz |
XMP URI and URL to string conversion + unit tests.
Diffstat (limited to 'src/pyexiv2.py')
-rw-r--r-- | src/pyexiv2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py index 13ebef3..867fca7 100644 --- a/src/pyexiv2.py +++ b/src/pyexiv2.py @@ -731,7 +731,7 @@ class XmpTag(MetadataTag): else: raise XmpValueError(value, xtype) - elif xtype in ('ProperName', 'Text'): + elif xtype in ('ProperName', 'Text', 'URI', 'URL'): if type(value) is unicode: try: return value.encode('utf-8') |