Weather: refer to the right object in prev. commit

tmp/79b4e7d7e0424f8155715d7c458859a1/head
Brian S. Stephan 10 years ago
parent e69766e71e
commit 7b2e3fa9aa

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

Loading…
Cancel
Save