Weather: refer to the right object in prev. commit
This commit is contained in:
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…
Reference in New Issue
Block a user