reformatted many base commands, and moved them to the BaseMiner class

This commit is contained in:
UpstreamData
2022-01-26 08:57:14 -07:00
parent d6c8335162
commit 516075db6d
5 changed files with 22 additions and 41 deletions

View File

@@ -39,9 +39,6 @@ class CGMiner(BaseMiner):
except Exception:
return "?"
async def send_config(self, _):
return None # ignore for now
async def _get_ssh_connection(self) -> asyncssh.connect:
try:
conn = await asyncssh.connect(str(self.ip),
@@ -137,5 +134,3 @@ class CGMiner(BaseMiner):
self.config = result.stdout
print(str(self.config))
async def get_board_info(self):
return None