Compare commits

..

2 Commits

Author SHA1 Message Date
UpstreamData
3a81844898 bump version number 2022-08-05 12:12:25 -06:00
UpstreamData
0ac80fb205 fix a bug with vnish miner identification 2022-08-05 12:12:10 -06:00
2 changed files with 5 additions and 5 deletions

View File

@@ -538,10 +538,10 @@ class MinerFactory(metaclass=Singleton):
if stats:
if stats["STATS"][0].get("Type"):
_model = stats["STATS"][0]["Type"].upper()
if "BB" in _model:
_model = _model.split("BB")[0]
if "XILINX" in _model:
_model = _model.split("XILINX")[0]
if " BB" in _model:
_model = _model.split(" BB")[0]
if " XILINX" in _model:
_model = _model.split(" XILINX")[0]
if "PRO" in _model and not " PRO" in _model:
model = _model.replace("PRO", " PRO")

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyasic"
version = "0.14.5"
version = "0.14.6"
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"