Compare commits

...

2 Commits

Author SHA1 Message Date
UpstreamData
b32649435d version: bump version number. 2023-02-09 15:48:49 -07:00
UpstreamData
c0096126df bug: Reverse check for whatsminer fault light as it was backwards. 2023-02-09 15:47:11 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -543,7 +543,7 @@ class BTMiner(BaseMiner):
if api_get_miner_info:
try:
self.light = api_get_miner_info["Msg"]["ledstat"] == "auto"
self.light = not (api_get_miner_info["Msg"]["ledstat"] == "auto")
except KeyError:
pass

View File

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