Merge pull request #144 from jpcomps/master

ePIC: bug fixes
This commit is contained in:
Brett Rowan
2024-05-16 08:27:07 -06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -444,7 +444,7 @@ class MiningModeConfig(MinerConfigOption):
)
else:
return cls.hashrate_tuning(
hashrate=algo_info["ChipTune"]["Target"],
hashrate=algo_info["ChipTune"].get("Target"),
algo=TunerAlgo.chip_tune(),
)
else:

View File

@@ -317,7 +317,7 @@ class ePIC(ePICFirmware):
except APIError:
pass
if web_capabilities is not None:
if web_capabilities is None:
try:
web_capabilities = await self.web.capabilities()
except APIError: