mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
Merge pull request #1965 from Hzj-jie/sdr-first
Prefer sdr folder to history folder
This commit is contained in:
commit
ccd72a87f0
@ -56,9 +56,9 @@ function DocSettings:open(docfile)
|
||||
sidecar_file = sidecar_path,
|
||||
data = {}
|
||||
}
|
||||
local ok, stored = pcall(dofile, new.history_file or "")
|
||||
local ok, stored = pcall(dofile, new.sidecar_file or "")
|
||||
if not ok then
|
||||
ok, stored = pcall(dofile, new.sidecar_file or "")
|
||||
ok, stored = pcall(dofile, new.history_file or "")
|
||||
if not ok then
|
||||
-- try legacy conf path, for backward compatibility. this also
|
||||
-- takes care of reader legacy setting
|
||||
|
Loading…
Reference in New Issue
Block a user