Fix wallet calls

closes #4810  #4812
This commit is contained in:
Matthias 2021-04-26 14:12:52 +02:00
parent 929c49a62e
commit 3f84c37a79

View File

@ -99,6 +99,7 @@ class Wallets:
balances = self._exchange.get_balances()
for currency in balances:
if isinstance(balances[currency], dict):
self._wallets[currency] = Wallet(
currency,
balances[currency].get('free', None),