diff options
| author | 2019-07-03 14:04:36 +0100 | |
|---|---|---|
| committer | 2019-07-03 14:04:36 +0100 | |
| commit | 61d354eb941e9a71dd9bbdd3913b6daea95fe820 (patch) | |
| tree | 630bef0db02eefe265d38f7d5177ece287e6d201 /modules | |
| parent | Allow commands to append to out/err prefix (diff) | |
| signature | ||
use stdout.append_prefix to put user nickname in without color
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/weather.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/weather.py b/modules/weather.py index 4314f0f3..99389b8d 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -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, |
