Skip to content

Commit

Permalink
bug: fix vnish config parsing in some overclocking cases
Browse files Browse the repository at this point in the history
  • Loading branch information
UpstreamData committed Dec 10, 2024
1 parent cd31e07 commit 0981127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyasic/config/mining/presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def from_vnish(cls, web_preset: dict):
hashrate = None
else:
power = hr_power_split[0].replace("watt", "").strip()
hashrate = hr_power_split[1].replace("TH", "").strip()
hashrate = hr_power_split[1].replace("TH", "").replace(" LC", "").strip()
tuned = web_preset["status"] == "tuned"
modded_psu = web_preset["modded_psu_required"]
return cls(
Expand Down

0 comments on commit 0981127

Please sign in to comment.