Skip to content

Commit da0235a

Browse files
authored
Merge pull request darktable-org#317 from wpferguson/correct_api_version
[dtutils] fixed api version check
2 parents c12d6f0 + c17e832 commit da0235a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dtutils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function dtutils.find_image_by_id(imgid)
304304
if #dt.database == 0 or imgid > dt.database[#dt.database].id then
305305
return nil
306306
end
307-
if dt.configuration.api_version_string >= "6.3.0" then
307+
if dt.configuration.api_version_string >= "6.2.0" then
308308
return dt.database.get_image(imgid)
309309
else
310310
local min = 1

0 commit comments

Comments
 (0)