Notify if no account information found

master
Mark Veidemanis 2 years ago
parent 0ba5cc38b3
commit 36b9421846
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -66,6 +66,9 @@ class Sinks(util.Base):
:param account_infos: dict of dicts of account information
:param account_infos: dict
"""
if not account_infos:
self.log.error(f"No accounts provided for {subclass}") #
return
for bank, accounts in account_infos.items():
for index, account in enumerate(list(accounts)):
if "account_number" not in account:

Loading…
Cancel
Save