Update fiat_convert.py

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-04-07 10:28:55 +05:30 committed by GitHub
parent 299dd84cfe
commit 7bf3475fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ class CryptoToFiatConverter:
return None
else:
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():
found = [x for x in self._coinlistings if x['id'] == coingecko_mapping[crypto_symbol]]