format: Improve T9 formatting with get data on hiveon.

This commit is contained in:
Upstream Data
2022-11-05 09:44:38 -06:00
parent d9b522734a
commit 92db8c8161

View File

@@ -132,10 +132,9 @@ class HiveonT9(Hiveon, T9):
hashboard.chips = chips hashboard.chips = chips
hashboard.temp = board_temp hashboard.temp = board_temp
hashboard.chip_temp = chip_temp hashboard.chip_temp = chip_temp
if not chips == 0: hashboard.missing = True
if chips and chips > 0:
hashboard.missing = False hashboard.missing = False
else:
hashboard.missing = True
data.hashboards.append(hashboard) data.hashboards.append(hashboard)
if not env_temp_list == []: if not env_temp_list == []: