porimol / countryinfo

A python module for returning data about countries, ISO info and states/provinces within them.
MIT License
143 stars 44 forks source link

capital() returns asmara as the default capital when an empty country string is passed #33

Open seroneymatoke opened 3 years ago

seroneymatoke commented 3 years ago

When an empty string is passed or None Asamara is returned as the capital

(CountryInfo(None).capital()) or (CountryInfo("").capital()) Asmara is returned by default