mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 19:15:56 +01:00
...
This commit is contained in:
parent
7c19a4d545
commit
e9df183e76
1 changed files with 0 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ def get_browser(self):
|
|||
br['signin-form:username'] = self.username
|
||||
br['signin-form:password'] = self.password
|
||||
raw = br.submit().read()
|
||||
open('/t/crap.html', 'wb').write(raw)
|
||||
if '>Sign out<' not in raw:
|
||||
raise Exception('Failed to login, are you sure your username and password are correct?')
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue