From d17454772cebbd6edd5d8e0f04e80feecbdb2355 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Tue, 30 Mar 2021 07:51:34 -0600 Subject: [PATCH] Update phototemplate.py Fix for non-str values in exiftool template (#409) --- osxphotos/phototemplate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osxphotos/phototemplate.py b/osxphotos/phototemplate.py index 4ebc396d..2e1c94e5 100644 --- a/osxphotos/phototemplate.py +++ b/osxphotos/phototemplate.py @@ -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: