From 50b911465d6f678ca12bc7c44e5463d96cb1963c Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Wed, 14 Nov 2018 11:07:35 +0100 Subject: [PATCH] Weather: Fix cutof of weather data --- statusscreen-weather.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusscreen-weather.go b/statusscreen-weather.go index 4e6dfda..5a99bc1 100644 --- a/statusscreen-weather.go +++ b/statusscreen-weather.go @@ -24,7 +24,7 @@ func (weather *Weather) GetOutput() []string { parts := strings.Split(weather.lastResponse, "\n") if len(parts) > 6 { - return parts[:len(parts)-5] + return parts[:37] } return []string{}