From e58a1d50278ab3d5125569381c7ca1d49218baa0 Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 24 Oct 2012 18:25:36 +0200 Subject: [PATCH] Fix hash on double entries --- modules/ing/browser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ing/browser.py b/modules/ing/browser.py index 8ecb4523..2dc08ee7 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -39,6 +39,7 @@ class Ing(BaseBrowser): '.*accountDetail.jsf.*': AccountHistory, '.*displayTRHistoriqueLA.*': AccountHistory, '.*transferManagement.jsf': TransferPage, + '.*onHoldTransferManagement.jsf': TransferPage, '.*DisplayDoTransferCommand.*': TransferPage, '.*transferCreateValidation.jsf': TransferConfirmPage } @@ -110,7 +111,7 @@ class Ing(BaseBrowser): hashlist = [] for transaction in self.page.get_transactions(): while transaction.id in hashlist: - transaction.id = hashlib.md5(transaction.id + "1") + transaction.id = hashlib.md5(transaction.id + "1").hexdigest() hashlist.append(transaction.id) yield transaction if self.page.islast():