use stdout.append_prefix to put user nickname in without color
This commit is contained in:
parent
d30f01670e
commit
61d354eb94
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class Module(ModuleManager.BaseModule):
|
|||
wind_speed_m = "%sMPh" % round(0.6214*wind_speed, 1)
|
||||
|
||||
if not nickname == None:
|
||||
event["stdout"].set_prefix("Weather|%s" % nickname)
|
||||
event["stdout"].append_prefix("|%s" % nickname)
|
||||
event["stdout"].write(
|
||||
"(%s) %s/%s | %s | Humidity: %s | Wind: %s/%s" % (
|
||||
location_str, celsius, fahrenheit, description, humidity,
|
||||
|
|
Loading…
Reference in a new issue