mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix Strategy+Business
This commit is contained in:
parent
953c8e9395
commit
af23efd3d6
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ def get_browser(self):
|
|||
elif c.name.endswith('_password'):
|
||||
br[c.name] = self.password
|
||||
raw = br.submit().read()
|
||||
if '>Logout' not in raw:
|
||||
if 'You have been logged in' not in raw:
|
||||
raise ValueError('Failed to login, check your username and password')
|
||||
return br
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue