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: else:
return cls.hashrate_tuning( return cls.hashrate_tuning(
hashrate=algo_info["ChipTune"]["Target"], hashrate=algo_info["ChipTune"].get("Target"),
algo=TunerAlgo.chip_tune(), algo=TunerAlgo.chip_tune(),
) )
else: else:

View File

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