From fbc905c5770505ec7a5643d0e6d139413936d3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lande=20Adrien?= Date: Thu, 22 Aug 2019 11:42:18 +0200 Subject: [PATCH] [lcl] remove '&' from transfer label the bank removes the character from the label so i have to remove it as well so the matching is done --- modules/lcl/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lcl/module.py b/modules/lcl/module.py index 50ce080bdf..f18ca105de 100644 --- a/modules/lcl/module.py +++ b/modules/lcl/module.py @@ -144,7 +144,7 @@ def execute_transfer(self, transfer, **params): 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): -- GitLab