Skip to content

Commit

Permalink
try remove AssertionError
Browse files Browse the repository at this point in the history
  • Loading branch information
t0rbik committed Sep 23, 2023
1 parent c24edd8 commit ebbb710
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/assets/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,6 @@ def aggregated_price_in_stables(self):
# price = self.defillama_price_in_stables()
price = 0

try:
price = self.geckoterminal_price_in_stables()
if price != 0:
return price
except:
pass

try:
return self.dexscreener_price_in_stables()
except (requests.exceptions.HTTPError, requests.exceptions.JSONDecodeError):
Expand Down

0 comments on commit ebbb710

Please sign in to comment.