mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
fintech register fix
This commit is contained in:
parent
669d61d57f
commit
a7f7db85fa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user