Merge pull request #856 from LokiLuciferase/bugfix/redshift-spelling

fix case of Kelvin SI unit in redshift widget
This commit is contained in:
tobi-wan-kenobi 2022-02-20 12:57:42 +01:00 committed by GitHub
commit a17356ee9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ def get_redshift_value(module):
for line in res.split("\n"):
line = line.lower()
if "temperature" in line:
widget.set("temp", line.split(" ")[2])
widget.set("temp", line.split(" ")[2].upper())
if "period" in line:
state = line.split(" ")[1]
if "day" in state: