From ab5ccb39a5cef01ad3277b6235ae4cf9bd81ab49 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 29 May 2015 11:35:40 +0200 Subject: [PATCH] =?UTF-8?q?do=20not=20get=20investments=20from=20PEA=20Esp?= =?UTF-8?q?=C3=A8ces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/bnporc/deprecated/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bnporc/deprecated/browser.py b/modules/bnporc/deprecated/browser.py index a881fd28..cd7289f6 100644 --- a/modules/bnporc/deprecated/browser.py +++ b/modules/bnporc/deprecated/browser.py @@ -238,7 +238,7 @@ class BNPorc(Browser): def iter_investment(self, account): if account.type == Account.TYPE_MARKET: - if not account.iban: + if not account.iban or u'espèce' in account.label.lower(): return iter([]) stp = datetime.strftime(datetime.now(), '%Y%m%d%H%M%S')