Skip to content

Commit 1c906af

Browse files
committed
Revert "skip if empty"
This reverts commit b596d3b.
1 parent b596d3b commit 1c906af

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scraper_service/shovel_tao_price/cmc_client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ def get_price_by_time(timestamp):
5555

5656
if status_code == 200 and 'data' in data and 'quotes' in data['data']:
5757
logging.info("Successfully parsed response data")
58-
if not data['data']['quotes']:
59-
logging.info("No quotes data available, skipping")
60-
return None
6158
quote = data['data']['quotes'][0]
6259
usd_quote = quote['quote']['USD']
6360
price = usd_quote['price']

0 commit comments

Comments
 (0)