mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'py3' of https://github.com/eli-schwartz/calibre
This commit is contained in:
commit
a1e75e9bc2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user