Skip to content

Commit c17e832

Browse files
committed
[dtutils] fixed api version check
1 parent c12d6f0 commit c17e832

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)