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:
sjjh
2018-08-04 01:43:38 +02:00
committed by GitHub
parent d96d8fb4fc
commit 4acba4d48a

View File

@@ -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