diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-09-14 17:25:23 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-09-14 17:25:23 +0200 |
commit | 2a5126f4f0c0a3e073becb98f49499363072643d (patch) | |
tree | cd9e79c76420d01c94544ce039a6a73eb667e4e5 /weather.lua | |
parent | 4f3599db00b3a55a0ff6e52530bdad282e97f8f3 (diff) | |
download | vicious-legacy-2a5126f4f0c0a3e073becb98f49499363072643d.tar.xz |
General cleanup
Diffstat (limited to 'weather.lua')
-rw-r--r-- | weather.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/weather.lua b/weather.lua index 476c969..cf43aa1 100644 --- a/weather.lua +++ b/weather.lua @@ -18,7 +18,7 @@ module("vicious.weather") -- {{{ Weather widget type local function worker(format, station) -- US National Oceanic and Atmospheric Administration - -- * Station (ICAO) codes: http://www.rap.ucar.edu/weather/surface/stations.txt + -- * ICAO codes: http://www.rap.ucar.edu/weather/surface/stations.txt local noaa = "http://weather.noaa.gov/pub/data/observations/metar/decoded/" -- Get info from a weather station @@ -26,11 +26,8 @@ local function worker(format, station) local ws = f:read("*all") f:close() - -- Setup tables + -- Default values local weather = { - -- Some of the weather symbols would look nice if prepended to - -- the final output, but it is up to the user to do that - -- * http://www.alanwood.net/unicode/miscellaneous_symbols.html ["{city}"] = "N/A", ["{wind}"] = "N/A", ["{windmph}"] = "N/A", |