Skip to content

Commit 2953cf7

Browse files
authored
Merge pull request #533 from wpferguson/fix_rename_images
fix contrib/rename_images crash
2 parents 3a1f6bb + 5e4ba9d commit 2953cf7

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)