Skip to content

Commit

Permalink
fix price_data reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Jun 24, 2024
1 parent ed33537 commit 8d6c562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions donations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def fetch_usd_prices(self):
# TODO: update totals for relevant accounts
else:
# no existing price within acceptable time period; fetch from coingecko
price_data = {}
try:
logger.info(
"No existing price within acceptable time period; fetching historical price..."
Expand Down

0 comments on commit 8d6c562

Please sign in to comment.