From c0d0b36f98c4958de85f5fd18e1016e4e331e0d2 Mon Sep 17 00:00:00 2001 From: Melik <10296053+melyux@users.noreply.github.com> Date: Mon, 26 Dec 2022 01:52:37 -0600 Subject: [PATCH] Get rid of luacheck warning --- frontend/apps/filemanager/filemanagerutil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/filemanager/filemanagerutil.lua b/frontend/apps/filemanager/filemanagerutil.lua index af97bfd24..81bc6d2be 100644 --- a/frontend/apps/filemanager/filemanagerutil.lua +++ b/frontend/apps/filemanager/filemanagerutil.lua @@ -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