From 67f1cc4db8cbb610d204270ffd8d6279ab96edf2 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 17 Dec 2012 09:48:30 +0100 Subject: [PATCH] Fix transfer for LEO accounts --- modules/ing/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ing/backend.py b/modules/ing/backend.py index ce90d78e..9abb5674 100644 --- a/modules/ing/backend.py +++ b/modules/ing/backend.py @@ -96,7 +96,7 @@ class INGBackend(BaseBackend, ICapBank, ICapBill): if not isinstance(recipient, Recipient): # Remove weboob identifier prefix (LA-, CC-...) if "-" in recipient: - recipient = recipient[3:] + recipient = recipient.split('-')[1] return self.browser.transfer(account, recipient, amount, reason) def iter_subscription(self):