mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-12-25 10:51:44 +00:00
[13.0][MIG]account_ebics_oe
This commit is contained in:
parent
f9a5fb1cfd
commit
dce73da550
@ -1,4 +1,4 @@
|
||||
# Copyright 2009-2019 Noviat.
|
||||
# Copyright 2009-2020 Noviat.
|
||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2009-2019 Noviat.
|
||||
# Copyright 2009-2020 Noviat.
|
||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||
|
||||
import logging
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user