Commit a0b4c191 authored by Maxime Gasselin's avatar Maxime Gasselin Committed by Romain Bignon

[hsbc] Skip card in opposition

In this case the history is not available.

Closes: 16236@sibi
parent b55030c3
......@@ -160,7 +160,7 @@ class AccountsPage(GenericLandingPage):
klass = Account
def condition(self):
return len(self.el.xpath('./td')) > 2
return len(self.el.xpath('./td')) > 2 and "en opposition" not in CleanText('./td[1]')(self)
# Some accounts have no <a> in the first <td>
def obj_label(self):
......
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