[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

@ -51,7 +51,7 @@ class EHentaiBrowser(Browser):
def _gallery_page(self, gallery, n):
return gallery.url + ('?p='+str(n))
def search_gallery(self, pattern):
def search_galleries(self, pattern):
self.location(self.buildurl('/', f_search=pattern.encode('utf-8')))
assert self.is_on_page(IndexPage)
return self.page.iter_galleries()