From 3de5077c12fd72996c5f9b9e3d66733719dd8019 Mon Sep 17 00:00:00 2001 From: Antoine BOSSY Date: Sun, 17 Nov 2019 15:38:51 +0100 Subject: [PATCH] [axabanque] Use Floor division instead of Float division. --- modules/axabanque/pages/bank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/axabanque/pages/bank.py b/modules/axabanque/pages/bank.py index de94c2c0cf..3d24a3a37d 100644 --- a/modules/axabanque/pages/bank.py +++ b/modules/axabanque/pages/bank.py @@ -269,7 +269,7 @@ def get_iban(self): # findall will find something like # ['FRXX', '1234', ... , '9012', 'FRXX', '1234', ... , '9012'] iban += part - iban = iban[:len(iban)/2] + iban = iban[:len(iban)//2] # we suppose that all iban are French iban iban_last_part = re.findall(r'([A-Z0-9]{3})\1\1Titulaire', extract_text(self.data), flags=re.MULTILINE) -- GitLab