We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68fda04 commit 6edb9cdCopy full SHA for 6edb9cd
app/utils/populations.py
@@ -10,7 +10,7 @@
10
GEONAMES_URL = "http://api.geonames.org/countryInfoJSON"
11
GEONAMES_BACKUP_PATH = "geonames_population_mappings.json"
12
13
-class population:
+class Population:
14
# Fetching of the populations.
15
def fetch_populations(save=False):
16
"""
@@ -58,4 +58,4 @@ def country_population(country_code, default=None):
58
:returns: The population.
59
:rtype: int
60
61
- return POPULATIONS.get(country_code, default)
+ return Population.POPULATIONS.get(country_code, default)
0 commit comments