mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix sidecar file name
Get back "metadata." part forgotten while refactoring.
This commit is contained in:
@@ -29,7 +29,7 @@ end
|
||||
|
||||
function DocSettings:getSidecarFile(doc_path)
|
||||
if doc_path == nil or doc_path == '' then return '' end
|
||||
return self:getSidecarDir(doc_path) .. "/" .. doc_path:match(".*%.(.+)") .. ".lua"
|
||||
return self:getSidecarDir(doc_path) .. "/metadata." .. doc_path:match(".*%.(.+)") .. ".lua"
|
||||
end
|
||||
|
||||
function DocSettings:hasSidecarDir(doc_path)
|
||||
|
||||
Reference in New Issue
Block a user