slightly nicer format for weather output
This commit is contained in:
parent
0bb7800934
commit
896dc480a5
1 changed files with 2 additions and 2 deletions
|
@ -78,10 +78,10 @@ class Module(ModuleManager.BaseModule):
|
||||||
wind_speed_m = "%sMPh" % round(0.6214*wind_speed, 1)
|
wind_speed_m = "%sMPh" % round(0.6214*wind_speed, 1)
|
||||||
|
|
||||||
if not nickname == None:
|
if not nickname == None:
|
||||||
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