mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-28 22:41:06 -05:00
Weather: squash extra space in Humidity output
This commit is contained in:
parent
6822d75ed1
commit
90bc8ef01d
@ -469,7 +469,7 @@ class Weather(callbacks.Plugin):
|
|||||||
output += " {0} ".format(outdata['temp'])
|
output += " {0} ".format(outdata['temp'])
|
||||||
# humidity.
|
# humidity.
|
||||||
if args['humidity']:
|
if args['humidity']:
|
||||||
output += " (Humidity: {0}) ".format(outdata['humidity'])
|
output += "(Humidity: {0}) ".format(outdata['humidity'])
|
||||||
# windchill/heatindex are conditional on season but test with startswith to see what to include
|
# windchill/heatindex are conditional on season but test with startswith to see what to include
|
||||||
if not outdata['windchill'].startswith("NA"):
|
if not outdata['windchill'].startswith("NA"):
|
||||||
output += "| {0} {1} ".format(self._bold('Wind Chill:'), outdata['windchill'])
|
output += "| {0} {1} ".format(self._bold('Wind Chill:'), outdata['windchill'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user