[13.0][MIG]account_ebics_oe

This commit is contained in:
Luc De Meyer 2020-05-29 16:04:03 +02:00
parent 8379fb67e8
commit 81d339d9da
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Copyright 2009-2019 Noviat. # Copyright 2009-2020 Noviat.
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl). # License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
{ {

View File

@ -1,4 +1,4 @@
# Copyright 2009-2019 Noviat. # Copyright 2009-2020 Noviat.
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl). # License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
import logging import logging
@ -21,11 +21,13 @@ fintech_register_users = config.get('fintech_register_users')
try: try:
if fintech: if fintech:
fintech_register_users = fintech_register_users \
and fintech_register_users.split(',')
fintech.cryptolib = 'cryptography' fintech.cryptolib = 'cryptography'
fintech.register( fintech.register(
fintech_register_name, fintech_register_name,
fintech_register_keycode, fintech_register_keycode,
fintech_register_users.split(',')) fintech_register_users)
except RuntimeError as e: except RuntimeError as e:
if e.message == "'register' can be called only once": if e.message == "'register' can be called only once":
pass pass