From 8e496311e0953eabaaad5234e2b738e8ed21f131 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Mon, 11 Feb 2013 09:01:16 +0100 Subject: [PATCH] support all Visa cards (not only Visa Premier) --- modules/creditdunord/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index 7c187209..2208c5f6 100644 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -86,7 +86,7 @@ class AccountsPage(CDNBasePage): else: a._link_id = None - if a.id.endswith('_CarteVisaPremier'): + if a.id.find('_CarteVisa') >= 0: accounts[0]._card_ids.append(a._link_id) if not accounts[0].coming: accounts[0].coming = Decimal('0.0')