Skip to content

Commit 5e4ba9d

Browse files
committed
contrib/rename_images - fixed call to sting library for building
the string substitution list
1 parent 3a1f6bb commit 5e4ba9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/rename_images.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ local function do_rename(images)
141141
for i, image in ipairs(images) do
142142
if job.valid then
143143
job.percent = i / #images
144-
ds.build_substitution_list(image, i, pattern, USER, PICTURES, HOME, DESKTOP)
144+
ds.build_substitute_list(image, i, pattern, USER, PICTURES, HOME, DESKTOP)
145145
local new_name = ds.substitute_list(pattern)
146146
if new_name == -1 then
147147
dt.print(_("unable to do variable substitution, exiting..."))

0 commit comments

Comments
 (0)