diff --git a/modules/societegenerale/pages/accounts_list.py b/modules/societegenerale/pages/accounts_list.py index dc2b94bceb334684da50f88bbd9b10f7db0b4551..1b1efb8b9e35f54eb201498ea5df6762eace2bc5 100644 --- a/modules/societegenerale/pages/accounts_list.py +++ b/modules/societegenerale/pages/accounts_list.py @@ -263,8 +263,7 @@ def next_page(self): class item(TransactionItemElement): def condition(self): conditions = ( - Dict('idOpe')(self), - Regexp(CleanText(Dict('idOpe')), r'(\d+)/')(self) == '0', + Dict('idOpe')(self) and Regexp(CleanText(Dict('idOpe')), r'(\d+)/')(self) == '0', Env('card_number')(self) in Dict('libOpe')(self), Dict('statutOperation')(self) == 'COMPTABILISE', )