calibre: handle a missing inbox folder (#14293)

Prompt the user again if the inbox folder has been configured but is missing (or not a directory).
This commit is contained in:
Benoit Pierre authored and GitHub committed 2025-09-09 08:08:44 +02:00
1 parent c65e74fd51
commit 51db00155c
1 file changed
+1 -1
+1 -1
View File
@@ -235,7 +235,7 @@ function CalibreWireless:connect()
-- Setup inbox directory.
local inbox_dir = G_reader_settings:readSetting("inbox_dir")
if not inbox_dir then
if not inbox_dir or lfs.attributes(inbox_dir, "mode") ~= "directory" then
self:setInboxDir(re)
inbox_dir = coroutine.yield()
end