Bug fix for #414, exiftool str replace
This commit is contained in:
parent
3c36b0fb33
commit
032dff8967
@ -1,3 +1,3 @@
|
||||
""" version info """
|
||||
|
||||
__version__ = "0.41.8"
|
||||
__version__ = "0.41.9"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user