mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 07:13:08 +02:00
Fix false positive in nrcnext
This commit is contained in:
parent
d297106ed5
commit
bf796d6503
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ def build_index(self):
|
|||
br['password'] = self.password
|
||||
response2 = br.submit()
|
||||
raw = response2.get_data()
|
||||
if 'niet ingelogd' not in raw: # in body class
|
||||
if 'niet ingelogd' in raw: # in body class
|
||||
raise ValueError('Failed to login, check username and password')
|
||||
epubraw = None
|
||||
for today in (date.today(), date.today() - timedelta(days=1),):
|
||||
|
|
|
|||
Loading…
Reference in a new issue