Skip to content

Commit a826c17

Browse files
authored
use dt.gettext after defining dt to avoid fatal error
1 parent 4e3b461 commit a826c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/hugin.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ USAGE
3333
This plugin will add a new storage option and calls hugin after export.
3434
]]
3535

36-
local gettext = dt.gettext
3736
local dt = require "darktable"
3837
local df = require "lib/dtutils.file"
3938
require "official/yield"
39+
local gettext = dt.gettext
4040

4141
-- works with darktable API version from 2.0.0 to 5.0.0
4242
dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0})

0 commit comments

Comments
 (0)