Commit 1121988f authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Romain Bignon
Browse files

[spirica] fix obj_investments from iter_history

The investements were simply not returned
parent 4aafce01
......@@ -208,4 +208,5 @@ def condition(self):
def obj_investments(self):
investments = []
for table in self.el.xpath('./following-sibling::tr[1]//span[contains(text(), "ISIN")]/ancestor::table[1]'):
investments = sum([investments, list(TableTransactionsInvestment(, el=table)())], [])
investments.extend(TableTransactionsInvestment(, el=table)())
return investments
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment