Fix typo that was preventing web2lrf from logging in when fetching nytimes.

This commit is contained in:
Kovid Goyal 2007-11-09 21:38:26 +00:00
parent 41e7de3077
commit 19b02787b2

View File

@ -38,8 +38,8 @@ class NYTimes(DefaultProfile):
]
]
def browser(self):
br = DefaultProfile.browser(self)
def get_browser(self):
br = DefaultProfile.get_browser()
if self.username is not None and self.password is not None:
br.open('http://www.nytimes.com/auth/login')
br.select_form(name='login')