diff --git a/modules/cragr/regions/pages.py b/modules/cragr/regions/pages.py index 3f172f9719c34423acfb99a7ead56ac79289f433..add592b931422a943893caadd359fedb536a86a5 100644 --- a/modules/cragr/regions/pages.py +++ b/modules/cragr/regions/pages.py @@ -477,8 +477,8 @@ def condition(self): # Card label is formatted as 'Carte VISA Premier - Mr M Lastname' obj_label = Format( '%s - %s', - CleanText('.//caption/span[@class="tdb-cartes-carte"]'), - CleanText('.//caption/span[@class="tdb-cartes-prop"]') + CleanText('.//caption/span[has-class("tdb-cartes-carte")]'), + CleanText('.//caption/span[has-class("tdb-cartes-prop")]') ) obj_type = Account.TYPE_CARD