This commit is contained in:
Kevin Hester
2021-03-27 16:39:33 +08:00
parent d80c61c8bd
commit 9963587eb4
9 changed files with 228 additions and 115 deletions

View File

@@ -152,7 +152,7 @@ def printNodes(nodes, myId):
batt = formatFloat(node['position'].get("batteryLevel"), "{:.2f}", "%")
snr = formatFloat(node.get("snr"), "{:.2f}", " dB")
LH = getLH(node.get("lastHeard"))
timeAgo = getTimeAgo(node['position'].get("time"))
timeAgo = getTimeAgo(node.get("lastHeard"))
tableData.append({"N": 0, "User": node['user']['longName'],
"AKA": node['user']['shortName'], "ID": node['user']['id'],
"Position": lat+", "+lon+", "+alt,

View File

File diff suppressed because one or more lines are too long