commit 68d6ac3a11834c28ea6248b2c73c570785bd85c2
parent 048c0bb4640fb799e02db0e8f8a95425f193ac88
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Fri, 24 Jan 2014 23:45:06 +0100
Removing useless whitespace conversion (request URL is quoted)
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/ansiweather b/ansiweather
@@ -77,9 +77,6 @@ function auto_locate {
# Location : example "Moscow,RU"
location=$(get_config "location" || auto_locate || echo "Moscow,RU")
-# check and replace spaces for curl requests
-location=$( printf "%s\n" "$location" | sed 's/ /%20/g' )
-
# System of Units : "metric" or "imperial"
units=$(get_config "units" || echo "metric")