From 38f1c3e2c59d9c4e126fd684d4e43115f5a55197 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Mon, 17 Feb 2014 09:37:27 +0100 Subject: [PATCH] if type is not found, set TYPE_UNKNOWN instead of None --- modules/creditdunord/pages.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index fff53fd5..2b663f30 100644 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -94,6 +94,8 @@ class AccountsPage(CDNBasePage): if label.startswith(pattern): return actype + return Account.TYPE_UNKNOWN + def get_history_link(self): return self.parser.strip(self.get_from_js(",url: Ext.util.Format.htmlDecode('", "'"))