From cea2c12cbf96b9a3dc1c0df7b36384b9a16aa269 Mon Sep 17 00:00:00 2001 From: Maxime Pommier Date: Thu, 4 Apr 2019 10:57:42 +0200 Subject: [PATCH] [creditmutuel] Fix PEA account's type match --- modules/creditmutuel/pages.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index f311e236e4..44ebd3b6cf 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -1162,9 +1162,11 @@ def obj_code(self): class PorPage(LoggedPage, HTMLPage): - TYPES = {"PLAN D'EPARGNE EN ACTIONS": Account.TYPE_PEA, - 'P.E.A': Account.TYPE_PEA - } + TYPES = { + "PLAN D'EPARGNE EN ACTIONS": Account.TYPE_PEA, + 'P.E.A': Account.TYPE_PEA, + 'PEA': Account.TYPE_PEA, + } def get_type(self, label): for pattern, actype in self.TYPES.items(): -- GitLab