bug: fix some WM models reporting https first and being identified as BOS+.

This commit is contained in:
Upstream Data
2023-08-07 17:02:26 -06:00
parent 4f2c3e772a
commit 248a7e6d69

View File

@@ -486,7 +486,7 @@ class MinerFactory:
"location", "" "location", ""
): ):
return MinerTypes.WHATSMINER return MinerTypes.WHATSMINER
if "Braiins OS" in web_text or 'href="/cgi-bin/luci"' in web_text: if "Braiins OS" in web_text:
return MinerTypes.BRAIINS_OS return MinerTypes.BRAIINS_OS
if "cloud-box" in web_text: if "cloud-box" in web_text:
return MinerTypes.GOLDSHELL return MinerTypes.GOLDSHELL