Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
efd7c9bf87 | ||
|
|
708d48dcc7 | ||
|
|
44d6e4cdd4 | ||
|
|
b823e13694 | ||
|
|
442b21810d | ||
|
|
a2553aab9d | ||
|
|
7cef0b3d3c | ||
|
|
6875ef54bd | ||
|
|
22f2e2edcd | ||
|
|
3b1ad46a1a | ||
|
|
0b9df0f7c4 | ||
|
|
c56686a18d | ||
|
|
d6a42238d0 |
@@ -370,9 +370,7 @@ class BOSMiner(BaseMiner):
|
||||
return result.upper().strip()
|
||||
|
||||
async def get_model(self) -> Optional[str]:
|
||||
if self.model is not None:
|
||||
return self.model + " (BOS)"
|
||||
return "? (BOS)"
|
||||
return self.model + " (BOS)"
|
||||
|
||||
async def get_version(
|
||||
self, api_version: dict = None, graphql_version: dict = None
|
||||
|
||||
@@ -26,6 +26,4 @@ class Hiveon(BMMiner):
|
||||
self.api_type = "Hiveon"
|
||||
|
||||
async def get_model(self) -> Optional[str]:
|
||||
if self.model is not None:
|
||||
return self.model + " (Hiveon)"
|
||||
return "? (Hiveon)"
|
||||
return self.model + " (Hiveon)"
|
||||
|
||||
@@ -58,9 +58,7 @@ class VNish(BMMiner):
|
||||
self.data_locations = VNISH_DATA_LOC
|
||||
|
||||
async def get_model(self) -> Optional[str]:
|
||||
if self.model is not None:
|
||||
return self.model + " (VNish)"
|
||||
return "? (VNish)"
|
||||
return self.model + " (VNISH)"
|
||||
|
||||
async def restart_backend(self) -> bool:
|
||||
data = await self.web.restart_vnish()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pyasic"
|
||||
version = "0.34.0"
|
||||
version = "0.33.22"
|
||||
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
|
||||
authors = ["UpstreamData <brett@upstreamdata.ca>"]
|
||||
repository = "https://github.com/UpstreamData/pyasic"
|
||||
|
||||
Reference in New Issue
Block a user