Merge pull request #6661 from SmartManoj/patch-5
Update fiat_convert.py
This commit is contained in:
commit
890694da08
@ -86,7 +86,7 @@ class CryptoToFiatConverter:
|
|||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
found = [x for x in self._coinlistings if x['symbol'] == crypto_symbol]
|
found = [x for x in self._coinlistings if x['symbol'].lower() == crypto_symbol]
|
||||||
|
|
||||||
if crypto_symbol in coingecko_mapping.keys():
|
if crypto_symbol in coingecko_mapping.keys():
|
||||||
found = [x for x in self._coinlistings if x['id'] == coingecko_mapping[crypto_symbol]]
|
found = [x for x in self._coinlistings if x['id'] == coingecko_mapping[crypto_symbol]]
|
||||||
|
Loading…
Reference in New Issue
Block a user