[CapGallery] correct method name

The modules using this capability and galleroob have been corrected too
This commit is contained in:
Alexandre Morignot 2014-12-05 05:53:22 +01:00 committed by Romain Bignon
commit 689fe43ed5
5 changed files with 6 additions and 6 deletions

View file

@ -53,9 +53,9 @@ class EHentaiModule(Module, CapGallery, CapCollection):
password = None
return self.create_browser(self.config['domain'].get(), username, password)
def search_gallery(self, pattern, sortby=None):
def search_galleries(self, pattern, sortby=None):
with self.browser:
return self.browser.search_gallery(pattern)
return self.browser.search_galleries(pattern)
def iter_gallery_images(self, gallery):
self.fillobj(gallery, ('url',))