Commit cae16c01 authored by Célande Adrien's avatar Célande Adrien Committed by Romain Bignon

[boursorama/transfer] handle \ufffd character

parent af878d90
......@@ -103,6 +103,9 @@ class BoursoramaModule(Module, CapBankWealth, CapBankTransferAddRecipient, CapPr
# Else: inside '<>' chars are deleted
old = re.sub(r'<[^>]*>', '', old).strip()
old = old.split('<')[0]
# replace � by ?, like the bank does
old = old.replace('\ufffd', '?')
return super(BoursoramaModule, self).transfer_check_label(old, new)
def iter_currencies(self):
......
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