davidpirogov / sopel-openweathermap

An OpenWeatherMap module for looking up the weather using the Sopel IRC bot
MIT License
2 stars 1 forks source link

Add country code to city name when looking up a place id #6

Closed davidpirogov closed 2 years ago

davidpirogov commented 2 years ago

Add the country code to the place_id location when looking up an observation, as well as when formatting the name of the place

https://github.com/davidpirogov/sopel-openweathermap/blob/9020a6c48308f1473d025766c2dd1220c02d497e/sopel_openweathermap/utils.py#L436

https://github.com/davidpirogov/sopel-openweathermap/blob/9020a6c48308f1473d025766c2dd1220c02d497e/sopel_openweathermap/utils.py#L381-L382