diff --git a/modules/hsbc/pages/account_pages.py b/modules/hsbc/pages/account_pages.py index f129080835bafea840c50e2ffe834c8e58482f1b..e72d8544ea0b544e9147d29137a92fea2e3f35c2 100644 --- a/modules/hsbc/pages/account_pages.py +++ b/modules/hsbc/pages/account_pages.py @@ -158,7 +158,9 @@ class item(ItemElement): def condition(self): return len(self.el.xpath('./td')) > 2 - obj_label = Label(CleanText('./td[1]/a')) + def obj_label(self): + return Label(CleanText('./td[1]/a'))(self) or 'Compte sans libellé' + obj_coming = Env('coming') obj_currency = FrenchTransaction.Currency('./td[2]')