Update phototemplate.py
Fix for non-str values in exiftool template (#409)
This commit is contained in:
parent
9c9e73ba96
commit
d17454772c
@ -918,6 +918,7 @@ class PhotoTemplate:
|
||||
if subfield in exifdict:
|
||||
values = exifdict[subfield]
|
||||
values = [values] if not isinstance(values, list) else values
|
||||
values = [str(v) for v in values]
|
||||
|
||||
# sanitize directory names if needed
|
||||
if filename:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user