Bug fix for #414, exiftool str replace
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
""" version info """
|
""" version info """
|
||||||
|
|
||||||
__version__ = "0.41.8"
|
__version__ = "0.41.9"
|
||||||
|
|||||||
@@ -1660,7 +1660,7 @@ def _exiftool_dict(
|
|||||||
if type(val) == str:
|
if type(val) == str:
|
||||||
exif[field] = val.replace("\n", " ")
|
exif[field] = val.replace("\n", " ")
|
||||||
elif type(val) == list:
|
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
|
return exif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user