Handle the case when the creditdunord CB label is "OPERATION SUR CARTE" (closes #1712)
Signed-off-by: Jean-Philippe Dutreve <jdutreve@winancial.com>
This commit is contained in:
parent
f0c034e7fb
commit
82f0a27790
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class AccountsPage(CDNBasePage):
|
|||
|
||||
def get_account_type(self, label):
|
||||
for pattern, actype in self.TYPES.iteritems():
|
||||
if label.startswith(pattern):
|
||||
if label.startswith(pattern) or label.endswith(pattern):
|
||||
return actype
|
||||
|
||||
return Account.TYPE_UNKNOWN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue