Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fayder Florez committed Sep 17, 2016
1 parent a2c2424 commit 4fd88c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/countries-output.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion python/crawlers/numeric_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions python/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.