support all Visa cards (not only Visa Premier)

This commit is contained in:
Romain Bignon 2013-02-11 09:01:16 +01:00
commit 8e496311e0

View file

@ -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')