Filter out advertisement

master
Elis Hirwing 6 years ago
parent 99686a12d2
commit 65640246f3
Signed by: etu
GPG Key ID: D57EFA625C9A925F

@ -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) {

Loading…
Cancel
Save