diff --git a/src/statusscreen/Weather.go b/src/statusscreen/Weather.go index 4f00ba2..f763dbf 100644 --- a/src/statusscreen/Weather.go +++ b/src/statusscreen/Weather.go @@ -27,7 +27,9 @@ func (weather *Weather) GetOutput() []string { } } - return strings.Split(weather.lastResponse, "\n") + parts := strings.Split(weather.lastResponse, "\n") + + return parts[:len(parts)-5] } func (weather *Weather) getWeather() (string, error) {