finaly handle BrowserHTTPNotFound in backend browsers
This commit is contained in:
parent
a7b42940b0
commit
8d49950813
15 changed files with 78 additions and 50 deletions
|
|
@ -48,5 +48,5 @@ class AttilasubBrowser(BaseBrowser):
|
|||
self.location('http://davidbillemont3.free.fr/%s' % url_end)
|
||||
except BrowserHTTPNotFound:
|
||||
return
|
||||
assert self.is_on_page(SubtitlesPage)
|
||||
return self.page.get_subtitle(id)
|
||||
if self.is_on_page(SubtitlesPage):
|
||||
return self.page.get_subtitle(id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue