aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/weather.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/weather.py')
-rw-r--r--src/plugins/weather.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/weather.py b/src/plugins/weather.py
index a02bf85..f04fe9d 100644
--- a/src/plugins/weather.py
+++ b/src/plugins/weather.py
@@ -55,7 +55,7 @@ class Weather:
'''
self.icao = station
url = 'http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT' % station
- decoded = spawn_read('wget', url, '-O', '-').split('\n')
+ decoded = spawn_read('curl', url).split('\n')
# How to parse: http://www.wunderground.com/metarFAQ.asp
station_header, self.headers, decoded = decoded[0].split(', '), decoded[:2], decoded[2:]