This commit is contained in:
Kovid Goyal 2011-08-31 11:19:20 -06:00
parent 7c19a4d545
commit e9df183e76

View File

@ -49,7 +49,6 @@ class HBR(BasicNewsRecipe):
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: