fintech register fix

This commit is contained in:
Luc De Meyer 2020-06-21 12:09:02 +02:00
parent 669d61d57f
commit a7f7db85fa

View File

@ -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