diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index f9d298d858e083d0d3dd9ea8438a610247f5cec8..6265a43df5250d6cb47ca2e03a6a370437f167ad 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -125,11 +125,10 @@ class FiscalityConfirmationPage(LoggedPage, HTMLPage): # and might be empty of text while used in a redirection class MobileConfirmationPage(PartialHTMLPage): def is_here(self): - return { + return ( 'Démarrez votre application mobile' in CleanText('//div[contains(@id, "inMobileAppMessage")]')(self.doc) or - # for Banque Transatlantique and BECM 'demande de confirmation mobile' in CleanText('//div[contains(@id, "inMobileAppMessage")]')(self.doc) - } + ) # We land on this page for some connections, but can still bypass this verification for now def check_bypass(self):