From eda83da755745ce1abf414583c595822f5dd12f3 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Fri, 29 May 2020 16:04:03 +0200 Subject: [PATCH] [13.0][MIG]account_ebics_oe --- account_ebics/__manifest__.py | 2 +- account_ebics/models/fintech_ebics_register.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/account_ebics/__manifest__.py b/account_ebics/__manifest__.py index 673c416..4fe59bc 100644 --- a/account_ebics/__manifest__.py +++ b/account_ebics/__manifest__.py @@ -1,4 +1,4 @@ -# Copyright 2009-2019 Noviat. +# Copyright 2009-2020 Noviat. # License LGPL-3 or later (http://www.gnu.org/licenses/lpgl). { diff --git a/account_ebics/models/fintech_ebics_register.py b/account_ebics/models/fintech_ebics_register.py index 0c04425..3b58711 100644 --- a/account_ebics/models/fintech_ebics_register.py +++ b/account_ebics/models/fintech_ebics_register.py @@ -1,4 +1,4 @@ -# Copyright 2009-2019 Noviat. +# Copyright 2009-2020 Noviat. # License LGPL-3 or later (http://www.gnu.org/licenses/lpgl). import logging @@ -21,11 +21,13 @@ fintech_register_users = config.get('fintech_register_users') try: if fintech: + fintech_register_users = fintech_register_users \ + and fintech_register_users.split(',') fintech.cryptolib = 'cryptography' fintech.register( fintech_register_name, fintech_register_keycode, - fintech_register_users.split(',')) + fintech_register_users) except RuntimeError as e: if e.message == "'register' can be called only once": pass