From 87d43d0cc2be9ee40cbc6e2b5f0a05ce86b8e574 Mon Sep 17 00:00:00 2001 From: yzenati <9922120+yzenati@users.noreply.github.com> Date: Fri, 16 Oct 2020 12:32:43 +0200 Subject: [PATCH] Remove a extra curl in fetch_weather_information --- scripts/weather.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/weather.sh b/scripts/weather.sh index dc7537a..580b359 100755 --- a/scripts/weather.sh +++ b/scripts/weather.sh @@ -18,7 +18,7 @@ fetch_weather_information() { display_weather=$1 # it gets the weather condition textual name (%C), the temperature (%t), and the location (%l) - curl -sL curl wttr.in\?format="+%C+%t$display_weather" + curl -sL wttr.in\?format="+%C+%t$display_weather" } #get weather display