Merge pull request #321 from RaoOfPhysics/fix-typo

Fix small typo in wttr_line.py
This commit is contained in:
Igor Chubin 2019-06-28 20:02:10 +02:00 committed by GitHub
commit a1517df21f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ def format_weather_data(format_line, location, override_location, data, query):
"""
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['location'] = location
current_condition['override_location'] = override_location