Commit ad5e0f46 authored by Baptiste Delpey's avatar Baptiste Delpey Committed by Romain Bignon

[creditmutuel] handle empty key error

parent e5d2d33d
......@@ -1108,7 +1108,7 @@ class VerifCodePage(LoggedPage, HTMLPage):
}
def on_load(self):
error = CleanText(u'//p[contains(text(), "Clé invalide !")]')(self.doc)
error = CleanText(u'//p[contains(text(), "Clé invalide !")] | //p[contains(text(), "Vous n\'avez pas saisi de clé!")]')(self.doc)
if error:
raise AddRecipientError(error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment