Permalink
Browse files

Minor changes

  • Loading branch information...
1 parent a2c2424 commit 4fd88c16c1f660ebf4f93f2d6e7319e0b90d07be Fayder Florez committed Sep 17, 2016
Showing with 5 additions and 6 deletions.
  1. +1 −1 python/countries-output.json
  2. +0 −1 python/crawlers/numeric_codes.py
  3. +4 −4 python/updater.py
Oops, something went wrong.
@@ -36,7 +36,6 @@ def __updateJSON(countriesJSON, data):
for country in data:
for countryJSON in countriesJSON:
if country == countryJSON['name'].encode('utf-8'):
- print(country, data[country])
countryJSON['numericCode'] = data[country]
return countriesJSON
View
@@ -27,9 +27,9 @@ def saveCountriesJSON(countriesJSON):
json.dump(countriesJSON, outputJsonFile)
countriesJSON = getCountriesJSON()
-#countriesJSON = population.update(countriesJSON)
-#countriesJSON = gini.update(countriesJSON)
-#countriesJSON = currencies.update(countriesJSON)
-#countriesJSON = languages.update(countriesJSON)
+countriesJSON = population.update(countriesJSON)
+countriesJSON = gini.update(countriesJSON)
+countriesJSON = currencies.update(countriesJSON)
+countriesJSON = languages.update(countriesJSON)
countriesJSON = numeric_codes.update(countriesJSON)
saveCountriesJSON(countriesJSON)

0 comments on commit 4fd88c1

Please sign in to comment.