From 5613480cc64b7754344ef286f766303889da2091 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sat, 25 Jul 2020 21:07:05 +0200 Subject: [PATCH] [8.0]fintech register strip --- 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 53410c6..1430024 100644 --- a/account_ebics/models/fintech_ebics_register.py +++ b/account_ebics/models/fintech_ebics_register.py @@ -22,11 +22,13 @@ fintech_register_users = config.get('fintech_register_users') try: if fintech: + fintech_register_users = fintech_register_users \ + and [x.strip() for x in fintech_register_users.split(',')] fintech.cryptolib = 'cryptography' fintech.register( fintech_register_name, fintech_register_keycode, - fintech_register_users.split(',')) + fintech_register_users) except RuntimeError, e: if e.message == "'register' can be called only once": pass