From a7f7db85fa614e30ce994de2509d82c7e137d094 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sun, 21 Jun 2020 12:09:02 +0200 Subject: [PATCH] fintech register fix --- account_ebics/models/fintech_ebics_register.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_ebics/models/fintech_ebics_register.py b/account_ebics/models/fintech_ebics_register.py index 0c04425..5719169 100644 --- a/account_ebics/models/fintech_ebics_register.py +++ b/account_ebics/models/fintech_ebics_register.py @@ -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