From 0f79decdbab8eb42d48486f1f261822f8c26acac Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 26 Dec 2014 14:42:37 +0100 Subject: [PATCH] fix crash in a particular case of navigation It happens if there is a full list, but not a check accounts full list... --- modules/banquepopulaire/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/banquepopulaire/pages.py b/modules/banquepopulaire/pages.py index 42d87ce2..1506cb05 100644 --- a/modules/banquepopulaire/pages.py +++ b/modules/banquepopulaire/pages.py @@ -394,7 +394,7 @@ class AccountsPage(BasePage): # If there is an action needed before going to the cards page, save it. m = re.search('dialogActionPerformed=([\w_]+)', self.url) - if m: + if m and m.group(1) != 'EQUIPEMENT_COMPLET': _params['prevAction'] = m.group(1) next_pages.append(_params) yield account