We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b596d3b commit 1c906afCopy full SHA for 1c906af
scraper_service/shovel_tao_price/cmc_client.py
@@ -55,9 +55,6 @@ def get_price_by_time(timestamp):
55
56
if status_code == 200 and 'data' in data and 'quotes' in data['data']:
57
logging.info("Successfully parsed response data")
58
- if not data['data']['quotes']:
59
- logging.info("No quotes data available, skipping")
60
- return None
61
quote = data['data']['quotes'][0]
62
usd_quote = quote['quote']['USD']
63
price = usd_quote['price']
0 commit comments