From 7b2e3fa9aaa271ef8efde1e2b893137bba8e03ff Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 5 Oct 2012 10:43:41 -0500 Subject: [PATCH] Weather: refer to the right object in prev. commit --- modules/Weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Weather.py b/modules/Weather.py index c8cb233..da8008f 100644 --- a/modules/Weather.py +++ b/modules/Weather.py @@ -232,7 +232,7 @@ class Weather(Module): # ok, try to see if the ambiguous results stuff will help self.log.debug("potentially ambiguous results, checking") try: - results = condition_data['response']['results'] + results = forecast_data['response']['results'] reply = "Multiple results, try one of the following zmw codes:" for res in results[:-1]: q = res['l'].strip('/q/')