From 812ceb224708677f011987cd80d54fd8761fd22b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 15 Oct 2020 17:47:54 +0530 Subject: [PATCH] Forgot to implement get_resource_reader() for plugins --- src/calibre/customize/zipplugin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calibre/customize/zipplugin.py b/src/calibre/customize/zipplugin.py index 9d90795068..df090ab90f 100644 --- a/src/calibre/customize/zipplugin.py +++ b/src/calibre/customize/zipplugin.py @@ -138,6 +138,9 @@ class CalibrePluginLoader: self.fullname_in_plugin == other.fullname_in_plugin ) + def get_resource_reader(self, fullname=None): + return self + def __hash__(self): return hash(self.name) ^ hash(self.plugin_name) ^ hash(self.fullname_in_plugin)