Merge pull request #321 from RaoOfPhysics/fix-typo

Fix small typo in wttr_line.py
pull/323/head
Igor Chubin 5 years ago committed by GitHub
commit a1517df21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save