aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pyexiv2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index 89ef3b8..8f4af39 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -404,8 +404,8 @@ class Image(libpyexiv2.Image):
strVal = str(value)
elif valueType == datetime.datetime:
strVal = value.strftime('%Y:%m:%d %H:%M:%S')
- elif valueType == tuple:
- strVal = '%s/%s' % (str(value[0]), str(value[1]))
+ elif valueType == list or valueType == tuple:
+ strVal = ' '.join([str(x) for x in value])
else:
# Value must already be a string.
# Warning: no distinction is possible between values that really are