|
|
@ -219,7 +219,7 @@ def format_weather_data(format_line, location, override_location, data, query):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
if 'data' not in data:
|
|
|
|
if 'data' not in data:
|
|
|
|
return 'Unknow location; please try ~%s' % location
|
|
|
|
return 'Unknown location; please try ~%s' % location
|
|
|
|
current_condition = data['data']['current_condition'][0]
|
|
|
|
current_condition = data['data']['current_condition'][0]
|
|
|
|
current_condition['location'] = location
|
|
|
|
current_condition['location'] = location
|
|
|
|
current_condition['override_location'] = override_location
|
|
|
|
current_condition['override_location'] = override_location
|
|
|
|