diff options
| author | 2019-11-25 16:09:35 +0000 | |
|---|---|---|
| committer | 2019-11-25 16:09:35 +0000 | |
| commit | 0bb780093468a9f7913e3445aea00e67a0435f22 (patch) | |
| tree | 98766535d68f2f38fd1ec515f98f0465bcb6923a /modules/weather.py | |
| parent | change utils.http.Request to be a dataclass (diff) | |
| signature | ||
.append_prefix() doens't exist anymore
Diffstat (limited to 'modules/weather.py')
| -rw-r--r-- | modules/weather.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/weather.py b/modules/weather.py index fe2c20bf..d2caf9b5 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -78,7 +78,8 @@ class Module(ModuleManager.BaseModule): wind_speed_m = "%sMPh" % round(0.6214*wind_speed, 1) if not nickname == None: - event["stdout"].append_prefix("|%s" % nickname) + location_str = "%s: %s" % (nickname, location_str) + event["stdout"].write( "(%s) %s/%s | %s | Humidity: %s | Wind: %s/%s" % ( location_str, celsius, fahrenheit, description, humidity, |
