Fix false positive in nrcnext

This commit is contained in:
Niels Giesen 2014-10-09 08:08:43 +02:00
parent 7028b7ab18
commit d297106ed5

View File

@ -39,7 +39,7 @@ class NRCNext(BasicNewsRecipe):
br['password'] = self.password
response2 = br.submit()
raw = response2.get_data()
if 'ingelogd' not in raw: # in body class
if 'niet ingelogd' not 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),):