Skip to content

Commit da275c2

Browse files
authored
Fixed $(VERSION.IF_MULTI)
Variable substitution actually errored out when duplicates were present.
1 parent 3fa913d commit da275c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dtutils/string.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ function dtutils_string.build_substitute_list(image, sequence, variable_string,
744744
string.match(image.exif_datetime_taken, "(%d+):(%d+):(%d+) (%d+):(%d+):(%d+)$")
745745
end
746746

747-
local version_multi = #image:get_group_members() > 1 and image.version or ""
747+
local version_multi = #image:get_group_members() > 1 and image.duplicate_index or ""
748748

749749
local replacements = {dtutils_string.get_basename(image.film.path),-- ROLL.NAME
750750
image.path, -- FILE.FOLDER

0 commit comments

Comments
 (0)