Remove a extra curl in fetch_weather_information

This commit is contained in:
yzenati 2020-10-16 12:32:43 +02:00
parent f5c0789d07
commit 87d43d0cc2

View file

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