From 8308b366e22ea70337f0efdaa0961464864dbf9b Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Wed, 16 Jan 2013 14:21:54 +0000 Subject: [PATCH] Added 'windGustDir' to the list of types retrieved from the database for Ambient-like protocols. --- bin/weewx/restful.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/weewx/restful.py b/bin/weewx/restful.py index 5f6ac261..bdeeaee5 100644 --- a/bin/weewx/restful.py +++ b/bin/weewx/restful.py @@ -40,7 +40,7 @@ class REST(object): # The types to be retrieved from the arhive database: archive_types = ['dateTime', 'usUnits', 'barometer', 'outTemp', 'outHumidity', - 'windSpeed', 'windDir', 'windGust', 'dewpoint', 'radiation', 'UV'] + 'windSpeed', 'windDir', 'windGust', 'windGustDir', 'dewpoint', 'radiation', 'UV'] # A SQL statement to do the retrieval: sql_select = "SELECT " + ", ".join(archive_types) + " FROM archive WHERE dateTime=?"