From f7f700bd4379b0e5500aec411d48855a5d6f8510 Mon Sep 17 00:00:00 2001 From: Baptiste Delpey Date: Mon, 25 May 2015 16:30:46 +0200 Subject: [PATCH] creditdunord fix crash on accounts which doesn't support history --- modules/creditdunord/pages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index 8b5e85b9..86bfde1e 100644 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -257,7 +257,8 @@ class TransactionsPage(CDNBasePage): # there is no transactions for this account, this is normal. return else: - raise BrokenPageError('Unable to find transactions list in scripts') + # No history on this account + return data = json.loads('[%s]' % txt.replace('"', '\\"').replace("'", '"'))