From 5e4ba9da5eb2f157ee7242f96870d687cebd03a5 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Mon, 28 Oct 2024 15:49:32 -0400 Subject: [PATCH] contrib/rename_images - fixed call to sting library for building the string substitution list --- contrib/rename_images.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/rename_images.lua b/contrib/rename_images.lua index a0d37e9..0093c54 100644 --- a/contrib/rename_images.lua +++ b/contrib/rename_images.lua @@ -141,7 +141,7 @@ local function do_rename(images) for i, image in ipairs(images) do if job.valid then job.percent = i / #images - ds.build_substitution_list(image, i, pattern, USER, PICTURES, HOME, DESKTOP) + ds.build_substitute_list(image, i, pattern, USER, PICTURES, HOME, DESKTOP) local new_name = ds.substitute_list(pattern) if new_name == -1 then dt.print(_("unable to do variable substitution, exiting..."))