add S19 and S17 and S9 models to GUI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user