Update convert_epubs_to_txt.lua

This commit is contained in:
2026-08-13 01:06:43 -06:00
parent b5fcb8674f
commit 5a5cb62e92
@@ -4,7 +4,7 @@ package.path = (arg[0]:match("@?(.*/)") or arg[0]:match("@?(.*\\)")) .. "lib" ..
local utility = require "utility" local utility = require "utility"
local calibre_location = "/Applications/calibre.app" local calibre_location = "/Applications/calibre.app"
local config = utility.get_config() local config = utility.get_config("read-only")
if config and config.llm_covers and config.llm_covers.calibre_location then if config and config.llm_covers and config.llm_covers.calibre_location then
calibre_location = config.llm_covers.calibre_location calibre_location = config.llm_covers.calibre_location
end end