bug: fix identifying stock as bosminer.

This commit is contained in:
Upstream Data
2022-11-13 16:22:57 -07:00
parent db780fe876
commit d2400bf44e

View File

@@ -435,6 +435,7 @@ class MinerFactory(metaclass=Singleton):
if devdetails: if devdetails:
if devdetails == {"Msg": "Disconnected"}: if devdetails == {"Msg": "Disconnected"}:
model = await self.__get_model_from_graphql(ip) model = await self.__get_model_from_graphql(ip)
if model:
api = "BOSMiner+" api = "BOSMiner+"
return model, api, ver return model, api, ver