Forgot to implement get_resource_reader() for plugins

This commit is contained in:
Kovid Goyal 2020-10-15 17:47:54 +05:30
parent 5b13ebd699
commit 812ceb2247
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)