feature: Add every whatsminer type known to man (or at least microBT).

This commit is contained in:
UpstreamData
2023-01-30 13:07:35 -07:00
parent 6ad750d3e9
commit b9ca810903
94 changed files with 3793 additions and 248 deletions

View File

@@ -52,9 +52,7 @@ class WhatsminerError:
elif "n" in select_err_subtype:
return select_err_subtype[
"n" # noqa: picks up `select_err_subtype["n"]` as not being numeric?
].replace(
"{n}", str(err_value)
)
].replace("{n}", str(err_value))
else:
return "Unknown error type."
elif "n" in select_err_type: