Improve weather formatting
Example: `14.8km/h/9.2mi/h` → `14.8km/h (9.2mi/h)`
This commit is contained in:
parent
b15cba2ca2
commit
86520b31f9
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
location_str = "(%s) %s" % (nickname, location_str)
|
location_str = "(%s) %s" % (nickname, location_str)
|
||||||
|
|
||||||
event["stdout"].write(
|
event["stdout"].write(
|
||||||
"%s | %s/%s | %s | Humidity: %s | Wind: %s/%s" % (
|
"%s | %s/%s | %s | Humidity: %s | Wind: %s (%s)" % (
|
||||||
location_str, celsius, fahrenheit, description, humidity,
|
location_str, celsius, fahrenheit, description, humidity,
|
||||||
wind_speed_k, wind_speed_m))
|
wind_speed_k, wind_speed_m))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue