Fix typo
This commit is contained in:
parent
144be37a9a
commit
57fc9df5f3
@ -92,7 +92,7 @@ class CryptoToFiatConverter(object):
|
|||||||
def _load_cryptomap(self) -> None:
|
def _load_cryptomap(self) -> None:
|
||||||
try:
|
try:
|
||||||
coinlistings = self._coinmarketcap.listings()
|
coinlistings = self._coinmarketcap.listings()
|
||||||
self._cryptomap = dict(map(lambda coin: (coin["symbol"], str(coin["id"]),
|
self._cryptomap = dict(map(lambda coin: (coin["symbol"], str(coin["id"])),
|
||||||
coinlistings["data"]))
|
coinlistings["data"]))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
logger.error("Could not load FIAT Cryptocurrency map")
|
logger.error("Could not load FIAT Cryptocurrency map")
|
||||||
|
Loading…
Reference in New Issue
Block a user