[fix] syncninja koreader nil error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Evan Reichard 2023-11-09 22:35:56 -05:00
parent 856bc7e2e6
commit d94e79f39c

View File

@ -853,8 +853,8 @@ function SyncNinja:getLocalDocumentMetadata()
docsettings:saveSetting("partial_md5_checksum", pmd5) docsettings:saveSetting("partial_md5_checksum", pmd5)
end end
-- Get Document Props -- Get Document Props & Ensure Not Nil
local doc_props = docsettings:readSetting("doc_props") local doc_props = docsettings:readSetting("doc_props") or {}
local fdoc = bookinfo_books[v.file] or {} local fdoc = bookinfo_books[v.file] or {}
-- Update or Create -- Update or Create