Open daroczig opened 10 months ago
Same here, when testing using examples from README
At least from my end (tested on Ubuntu 22.04, it's the glob in line 30 in Countrydetails/country.py
that's causing the issue.
country_files = [files for files in glob(data_files + '*.json')]
It seems to be getting data/countries.json
instead of data/countries/countries.json
. You can just prepend a /
before *.json
there to fix it, but I'm unsure if this works for all platforms.
The issue still persists. The above hack works on windows though but not getting the right country by Capitalized country name.
'India' doesn't work. 'india' works.
count = country.country_details('India')
india = count.countries.get('india')
Wasted good amount to time because of this.
First of all, thanks for this super cool data and wrapper package :bow:
All countries data works fine, but I'm facing issues when trying to access a single country, see e.g.
I'm on a case-sensitive file-system, if that might be an issue .. but I have no idea how
country_info
ended up as alist
:thinking: