fixed a bug for scanning S9s with no boards for testing
This commit is contained in:
@@ -300,6 +300,9 @@ class MinerFactory(metaclass=Singleton):
|
|||||||
else:
|
else:
|
||||||
# some avalonminers have model in driver
|
# some avalonminers have model in driver
|
||||||
model = devdetails["DEVDETAILS"][0]["Driver"]
|
model = devdetails["DEVDETAILS"][0]["Driver"]
|
||||||
|
else:
|
||||||
|
if "s9" in devdetails["STATUS"][0]["Description"]:
|
||||||
|
model = "Antminer S9"
|
||||||
|
|
||||||
if version:
|
if version:
|
||||||
# check if there are any BMMiner strings in any of the dict keys
|
# check if there are any BMMiner strings in any of the dict keys
|
||||||
|
|||||||
Reference in New Issue
Block a user