Bug fix for #414, exiftool str replace

This commit is contained in:
Rhet Turnbull 2021-04-05 13:11:17 -07:00
parent 3c36b0fb33
commit 032dff8967
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
""" version info """
__version__ = "0.41.8"
__version__ = "0.41.9"

View File

@ -1660,7 +1660,7 @@ def _exiftool_dict(
if type(val) == str:
exif[field] = val.replace("\n", " ")
elif type(val) == list:
exif[field] = [v.replace("\n", " ") for v in val]
exif[field] = [str(v).replace("\n", " ") for v in val if v is not None]
return exif