From 5a5cb62e92ced5a26f6a908210633e62ee11c3da Mon Sep 17 00:00:00 2001 From: Tangent Date: Thu, 13 Aug 2026 01:06:43 -0600 Subject: [PATCH] Update convert_epubs_to_txt.lua --- extract_ebook_texts.lua => convert_epubs_to_txt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename extract_ebook_texts.lua => convert_epubs_to_txt.lua (94%) diff --git a/extract_ebook_texts.lua b/convert_epubs_to_txt.lua similarity index 94% rename from extract_ebook_texts.lua rename to convert_epubs_to_txt.lua index 9d61c94..2383db2 100644 --- a/extract_ebook_texts.lua +++ b/convert_epubs_to_txt.lua @@ -4,7 +4,7 @@ package.path = (arg[0]:match("@?(.*/)") or arg[0]:match("@?(.*\\)")) .. "lib" .. local utility = require "utility" 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 calibre_location = config.llm_covers.calibre_location end