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:
1 parent
c65e74fd51
commit
51db00155c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user