Commit e4517d48 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[lcl] remove character '+' from transfer label

like lcl website
parent ca6950df
Pipeline #1799 failed with stages
in 2 minutes and 33 seconds
...@@ -145,7 +145,7 @@ class LCLModule(Module, CapBankWealth, CapBankTransferAddRecipient, CapContact, ...@@ -145,7 +145,7 @@ class LCLModule(Module, CapBankWealth, CapBankTransferAddRecipient, CapContact,
return self.browser.execute_transfer(transfer) return self.browser.execute_transfer(transfer)
def transfer_check_label(self, old, new): def transfer_check_label(self, old, new):
old = re.sub(r"[/<\?='!]", '', old).strip() old = re.sub(r"[/<\?='!\+]", '', old).strip()
old = old.encode('latin-1', errors='replace').decode('latin-1') old = old.encode('latin-1', errors='replace').decode('latin-1')
return super(LCLModule, self).transfer_check_label(old, new) return super(LCLModule, self).transfer_check_label(old, new)
......
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