changed Temperature to Temp and added more spacing to pool user

This commit is contained in:
UpstreamData
2022-05-11 08:43:32 -06:00
parent cc24236c0a
commit 066fc1a4b3
2 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ TABLE_HEADERS = {
"Model",
"Hostname",
"Hashrate",
"Temperature",
"Temp",
"Pool User",
"Wattage",
],
@@ -158,8 +158,8 @@ IP_COL_WIDTH = 17
MODEL_COL_WIDTH = 15
HOST_COL_WIDTH = 15
HASHRATE_COL_WIDTH = 12
TEMP_COL_WIDTH = 14
USER_COL_WIDTH = 27
TEMP_COL_WIDTH = 8
USER_COL_WIDTH = 33
WATTAGE_COL_WIDTH = 10
SPLIT_COL_WIDTH = 8
SCAN_COL_WIDTHS = [

View File

@@ -185,7 +185,7 @@ class TableManager(metaclass=Singleton):
self.data[data_key]["Hashrate"].replace(" ", "").replace("TH/s", "")
)
if self.sort_key in ["Wattage", "Temperature"]:
if self.sort_key in ["Wattage", "Temp"]:
if isinstance(self.data[data_key][self.sort_key], str):
return -300