fix parsing of transactions

This commit is contained in:
Romain Bignon 2012-12-07 18:12:20 +01:00
commit 8c831859b6

View file

@ -219,9 +219,10 @@ class AccountHistoryPage(BasePage):
for table in tables:
# Look for the relevant table in the Pro version
header=table.getprevious()
while str(header.tag)=="<built-in function Comment>":
while header is not None and str(header.tag) != 'div':
header=header.getprevious()
header=header.find("div")
if header is not None:
header=header.find("div")
if header is not None:
header=header.find("span")