Browse Source

Changed Kelvin temperature unit string from "°K" to "K " as Kelvin is an absolute measure. The space after "K" keeps spacing consistent.

pull/295/head
joost_bergen 4 years ago
parent
commit
5f5b7a26c0
  1. 2
      bpytop.py

2
bpytop.py

@ -5334,7 +5334,7 @@ def temperature(value: int, scale: str = "celsius") -> Tuple[int, str]:
elif scale == "fahrenheit":
return (round(value * 1.8 + 32), "°F")
elif scale == "kelvin":
return (round(value + 273.15), "°K")
return (round(value + 273.15), "K ")
elif scale == "rankine":
return (round(value * 1.8 + 491.67), "°R")
else:

Loading…
Cancel
Save