This commit is contained in:
Kovid Goyal 2015-04-10 15:28:35 +05:30
parent b9f86450a0
commit cf2aa25944

View File

@ -37,7 +37,7 @@ class LeTemps(BasicNewsRecipe):
br['password'] = self.password br['password'] = self.password
raw = br.submit().read() raw = br.submit().read()
if '>Login' in raw: if '>Login' in raw:
raise ValueError('Failed to login to letemp.ch. Check ' raise ValueError('Failed to login to letemps.ch. Check '
'your username and password') 'your username and password')
return br return br