porimol / countryinfo

A python module for returning data about countries, ISO info and states/provinces within them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

seroneymatoke opened this issue · comments

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