Get rid of luacheck warning

This commit is contained in:
Melik authored and Frans de Jonge committed 2023-02-11 21:49:23 +01:00
1 parent 1b2adfd201
commit c0d0b36f98
1 file changed
+1 -1
@@ -81,7 +81,7 @@ end
function filemanagerutil.setStatus(file, status)
-- In case the book doesn't have a sidecar file, this'll create it
local docinfo = DocSettings:open(file)
local summary = nil
local summary
if docinfo.data.summary and docinfo.data.summary.status then
-- Book already had the full BookStatus table in its sidecar, easy peasy!
docinfo.data.summary.status = status