format
This commit is contained in:
@ -123,7 +123,7 @@ def update_display():
|
||||
b = bearing(lavg, (val[0][0],val[0][1]))
|
||||
else:
|
||||
d = float('inf')
|
||||
b = math.nan
|
||||
b = float('NaN')
|
||||
print(name, ":", d, b)
|
||||
du = "m" if math.isinf(d) else ""
|
||||
bu = "°" if math.isnan(b) else ""
|
||||
|
||||
Reference in New Issue
Block a user