Skip to content

Commit

Permalink
Reverting placement of GRCPRICELASTUPDATED write
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Gunty committed Jul 12, 2024
1 parent ff92308 commit 2b4009c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4010,9 +4010,9 @@ def boinc_loop(
)
if price_check_calc > max(PRICE_CHECK_INTERVAL, 60):
grc_price = get_grc_price()
DATABASE["GRCPRICELASTCHECKED"] = datetime.datetime.now()
if grc_price:
DATABASE["GRCPRICE"] = grc_price
DATABASE["GRCPRICELASTCHECKED"] = datetime.datetime.now()
else:
grc_price = DATABASE.get("GRCPRICE",0)

Expand Down

0 comments on commit 2b4009c

Please sign in to comment.