This commit is contained in:
Kovid Goyal 2019-05-20 06:44:04 +05:30
commit a1e75e9bc2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -29,7 +29,7 @@ class insider(BasicNewsRecipe):
br['login-password'] = self.password
res = br.submit()
raw = res.read()
if b'Odhlásit se' not in raw:
if u'Odhlásit se'.encode('utf-8') not in raw:
raise ValueError('Failed to login to insider.cz'
'Check your username and password.')
return br