add S19 and S17 and S9 models to GUI

This commit is contained in:
UpstreamData
2022-01-07 10:44:09 -07:00
parent c93d99b27c
commit 51e9e19409
3 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ class BMMiner(BaseMiner):
async def get_hostname(self) -> str:
return "BMMiner Unknown"
return "?"
async def send_config(self, _):
return None # ignore for now

View File

@@ -31,9 +31,9 @@ class CGMiner(BaseMiner):
data = await conn.run('cat /proc/sys/kernel/hostname')
return data.stdout.strip()
else:
return "CGMiner Unknown"
return "?"
except Exception:
return "CGMiner Unknown"
return "?"
async def send_config(self, _):
return None # ignore for now