Cover a edge case of CryptoToFiatConverter::_find_price()

This commit is contained in:
Gerald Lonlas
2018-06-02 15:29:29 -07:00
parent dfbc94c05b
commit 5ec3eb76eb
2 changed files with 9 additions and 1 deletions

View File

@@ -192,6 +192,7 @@ class CryptoToFiatConverter(object):
# return 0 for unsupported stake currencies (fiat-convert should not break the bot)
logger.warning("unsupported crypto-symbol %s - returning 0.0", crypto_symbol)
return 0.0
try:
return float(
self._coinmarketcap.ticker(