Fix coinmarketcap ticker

This commit is contained in:
Matthias Voppichler 2018-05-13 19:58:48 +02:00
parent 57fc9df5f3
commit 3246c60472
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class CryptoToFiatConverter(object):
self._coinmarketcap.ticker(
currency=self._cryptomap[crypto_symbol],
convert=fiat_symbol
)[0]['price_' + fiat_symbol.lower()]
)['data']['quotes'][fiat_symbol.upper()]['price']
)
except BaseException as ex:
logger.error("Error in _find_price: %s", ex)