Weather: refer to the right object in prev. commit

This commit is contained in:
Brian S. Stephan 2012-10-05 10:43:41 -05:00
parent e69766e71e
commit 7b2e3fa9aa
1 changed files with 1 additions and 1 deletions

View File

@ -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/')