Merge pull request #856 from LokiLuciferase/bugfix/redshift-spelling
fix case of Kelvin SI unit in redshift widget
This commit is contained in:
commit
a17356ee9d
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