mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Fix false positive in nrcnext
This commit is contained in:
parent
d297106ed5
commit
bf796d6503
@ -39,7 +39,7 @@ class NRCNext(BasicNewsRecipe):
|
||||
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…
x
Reference in New Issue
Block a user