corrected "dt" to "darktable" in line 63 of cr2hdr
object "darktable" is defined in line 35; usage of "dt" was probably a typo or left over from a refactoring.
This commit is contained in:
@@ -60,7 +60,7 @@ end
|
||||
local function convert_image(image)
|
||||
if string.sub(image.filename, -3) == "CR2" then
|
||||
local filename = image.path .. "/" .. image.filename
|
||||
local result = dt.control.execute( "cr2hdr " .. filename)
|
||||
local result = darktable.control.execute( "cr2hdr " .. filename)
|
||||
local out_filename = string.gsub(filename, ".CR2", ".DNG")
|
||||
local file = io.open(out_filename)
|
||||
if file then
|
||||
|
||||
Reference in New Issue
Block a user