fix case of Kelvin SI unit in redshift widget
This commit is contained in:
parent
03731136b6
commit
928f8258aa
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue