diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pyexiv2/exif.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pyexiv2/exif.py b/src/pyexiv2/exif.py index 85a288e..5727ac5 100644 --- a/src/pyexiv2/exif.py +++ b/src/pyexiv2/exif.py @@ -368,7 +368,10 @@ class ExifTag(ListenerInterface): @rtype: C{str} """ - return self._convert_to_string(self._value) + if isinstance(self._value, (list, tuple)): + return ', '.join(map(self._convert_to_string, self._value)) + else: + return self._convert_to_string(self._value) def __repr__(self): """ |