Remove a extra curl in fetch_weather_information
This commit is contained in:
parent
f5c0789d07
commit
87d43d0cc2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue