bug: fix an issue with bosminer not responding correctly on older models with fans.

This commit is contained in:
UpstreamData
2023-10-23 12:59:52 -06:00
parent 6e0b9a0a7b
commit 9fbbef9b18

View File

@@ -787,7 +787,7 @@ class BOSMiner(BaseMiner):
)
except APIError:
pass
if graphql_fans:
if graphql_fans.get("data"):
fans = []
for n in range(self.fan_count):
try: