[fix] syncninja koreader nil error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
856bc7e2e6
commit
d94e79f39c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user