bug: fix a bug wth bosminer where it will sometimes not get data from graphql
This commit is contained in:
@@ -548,6 +548,8 @@ class BOSMiner(BaseMiner):
|
|||||||
if not query_data:
|
if not query_data:
|
||||||
return None
|
return None
|
||||||
query_data = query_data["data"]
|
query_data = query_data["data"]
|
||||||
|
if not query_data:
|
||||||
|
return None
|
||||||
|
|
||||||
data.mac = await self.get_mac()
|
data.mac = await self.get_mac()
|
||||||
data.model = await self.get_model()
|
data.model = await self.get_model()
|
||||||
|
|||||||
Reference in New Issue
Block a user