Updated render_filepath_template to support multiple values

This commit is contained in:
Rhet Turnbull
2020-04-04 09:53:23 -07:00
parent 01cd7fed6d
commit 6a898886dd
6 changed files with 309 additions and 55 deletions

View File

@@ -1518,6 +1518,7 @@ def export_photo(
dest = create_path_by_date(dest, date_created)
elif directory:
dirname, unmatched = render_filepath_template(directory, photo)
dirname = dirname[0]
if unmatched:
click.echo(
f"Possible unmatched substitution in template: {unmatched}", err=True