From b0a21a457b7f828824ab6263baf81fee15b40850 Mon Sep 17 00:00:00 2001 From: Florian Tham Date: Wed, 19 Mar 2025 09:15:14 +0100 Subject: [PATCH] cr2hdr locale fix --- cr2hdr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr2hdr.lua b/cr2hdr.lua index 36f325f..96adbf8 100644 --- a/cr2hdr.lua +++ b/cr2hdr.lua @@ -82,7 +82,7 @@ end local function convert_image(image) if string.sub(image.filename, -3) == "CR2" then local filename = image.path .. "/" .. image.filename - local result = darktable.control.execute( "cr2hdr " .. filename) + local result = darktable.control.execute( "LC_ALL=POSIX ~/bin/cr2hdr " .. filename) local out_filename = string.gsub(filename, ".CR2", ".DNG") local file = io.open(out_filename) if file then