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

[lcl] '#' character is not valid for transfer label

parent f3fe5318
......@@ -145,7 +145,7 @@ class LCLModule(Module, CapBankWealth, CapBankTransferAddRecipient, CapContact,
return self.browser.execute_transfer(transfer)
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')
# if no reason given, the site changes the label
if not old and ("INTERNET-FAVEUR" in 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