Added require "official/yield" to scripts that use dt.control.execute() so that they work correctly if you haven't required official/yield somewhere else.

This commit is contained in:
Bill Ferguson
2016-10-21 13:22:25 -04:00
parent 45e38a9a2d
commit f550822943
10 changed files with 20 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ USAGE
]]
local dt = require "darktable"
require "official/yield"
dt.configuration.check_version(...,{2,0,1})
local function show_status(storage, image, format, filename, number, total, high_quality, extra_data)