From e0424e644f9f0e3a5dbe8c26825939f615e3a8dc Mon Sep 17 00:00:00 2001 From: yparitcher Date: Thu, 16 Dec 2021 10:43:26 -0500 Subject: [PATCH] cre is a global after engineInit() --- plugins/coverbrowser.koplugin/bookinfomanager.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/coverbrowser.koplugin/bookinfomanager.lua b/plugins/coverbrowser.koplugin/bookinfomanager.lua index a925fd416..106cc0d40 100644 --- a/plugins/coverbrowser.koplugin/bookinfomanager.lua +++ b/plugins/coverbrowser.koplugin/bookinfomanager.lua @@ -393,7 +393,6 @@ function BookInfoManager:extractBookInfo(filepath, cover_specs) -- so it does not reset our temporary cache dir when we first open -- a crengine book for extraction. require("document/credocument"):engineInit() - local cre = require "libs/libkoreader-cre" -- If we wanted to disallow caching completely: -- cre.initCache("", 1024*1024*32) -- empty path = no cache -- But it's best to use a cache for quicker and less memory