Skip to content

Commit

Permalink
Merge pull request #55 from Jericon/main
Browse files Browse the repository at this point in the history
Fixing GRCPRICE and GRCPRICELASTCHECKED logic
  • Loading branch information
makeasnek authored Jul 12, 2024
2 parents d380762 + fb843e5 commit 279c4bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4014,7 +4014,8 @@ def boinc_loop(
if grc_price:
DATABASE["GRCPRICE"] = grc_price
else:
grc_price = DATABASE["GRCPRICE"]
grc_price = DATABASE.get("GRCPRICE",0)

# Check profitability of all projects, if none profitable
# (and user doesn't want unprofitable crunching), sleep for 1hr
if ONLY_BOINC_IF_PROFITABLE and not dev_loop:
Expand Down

0 comments on commit 279c4bb

Please sign in to comment.