Skip to content

Commit 97e3367

Browse files
committed
lib/dtutils/string - fixed default formatting of sequence
1 parent 7b20184 commit 97e3367

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
@@ -706,7 +706,7 @@ function dtutils_string.build_substition_list(image, sequence, variable_string,
706706
image.version_name, -- VERSION.NAME
707707
dt.configuration.version, -- DARKTABLE.VERSION
708708
"", -- DARKTABLE.NAME
709-
sequence, -- SEQUENCE
709+
string.format("%04d", sequence), -- SEQUENCE
710710
image.width, -- WIDTH.SENSOR
711711
image.height, -- HEIGHT.SENSOR
712712
is_api_9_1 and image.p_width or "", -- WIDTH.RAW

0 commit comments

Comments
 (0)