Fix output from release trade and notify about useless accounts
This commit is contained in:
@@ -67,6 +67,7 @@ class Sinks(util.Base):
|
||||
for account in list(accounts):
|
||||
if len(account["account_number"]) == 1:
|
||||
account_infos[bank].remove(account)
|
||||
self.log.warning(f"Potentially useless bank account: {account}")
|
||||
currencies = [account["currency"] for bank, accounts in account_infos.items() for account in accounts]
|
||||
|
||||
self.account_info = account_infos
|
||||
|
||||
Reference in New Issue
Block a user