fixed a bug for scanning S9s with no boards for testing

This commit is contained in:
UpstreamData
2022-05-13 14:03:27 -06:00
parent 67aedd319d
commit 5a0bafb964

View File

@@ -300,6 +300,9 @@ class MinerFactory(metaclass=Singleton):
else:
# some avalonminers have model in driver
model = devdetails["DEVDETAILS"][0]["Driver"]
else:
if "s9" in devdetails["STATUS"][0]["Description"]:
model = "Antminer S9"
if version:
# check if there are any BMMiner strings in any of the dict keys