From 0bb780093468a9f7913e3445aea00e67a0435f22 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 25 Nov 2019 16:09:35 +0000 Subject: .append_prefix() doens't exist anymore --- modules/weather.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') 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, -- cgit v1.3.1-10-gc9f91