fix error

This commit is contained in:
Romain Bignon 2012-10-08 21:53:45 +02:00
commit 73f6617442

View file

@ -87,7 +87,7 @@ class IndexPage(BasePage):
m = re.match("^javascript:__doPostBack\('.*','HISTORIQUE_COMPTE&(\d+)'\)", a.attrib['href'])
if not m:
self.logger.warning('Unable to parse account %s' % a.text.strip())
self.logger.warning('Unable to parse account %s' % (a.text.strip() if a.text is not None else ''))
continue
account = Account()