bug: fix a bug with identifying some older version of BOSMiner.
This commit is contained in:
@@ -572,7 +572,7 @@ class MinerFactory(metaclass=Singleton):
|
|||||||
try:
|
try:
|
||||||
if data["version"][0]["STATUS"][0]["Msg"] == "Disconnected":
|
if data["version"][0]["STATUS"][0]["Msg"] == "Disconnected":
|
||||||
return data["devdetails"], data["version"]
|
return data["devdetails"], data["version"]
|
||||||
except KeyError:
|
except (KeyError, TypeError):
|
||||||
pass
|
pass
|
||||||
raise APIError(validation[1])
|
raise APIError(validation[1])
|
||||||
# copy each part of the main command to devdetails and version
|
# copy each part of the main command to devdetails and version
|
||||||
|
|||||||
Reference in New Issue
Block a user