diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2019-06-16 14:02:58 +0300 |
---|---|---|
committer | gmoryes <gmoryes@gmail.com> | 2019-06-17 13:35:30 +0300 |
commit | fd9e91b45200367058b5ab1c60cf45ca677b74e4 (patch) | |
tree | 98ed6401c223f0331aa2baf487933138db2f36ed /tools | |
parent | dd53786c51a3146a8c010d166fd090189fcc5893 (diff) |
[python] Fixed version type.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/python/post_generation/hierarchy_to_countries.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/post_generation/hierarchy_to_countries.py b/tools/python/post_generation/hierarchy_to_countries.py index e1915827bf..e7896935d4 100755 --- a/tools/python/post_generation/hierarchy_to_countries.py +++ b/tools/python/post_generation/hierarchy_to_countries.py @@ -140,7 +140,7 @@ def hierarchy_to_countries(old_vs_new_csv_path, borders_vs_osm_csv_path, oldvs = parse_old_vs_new(old_vs_new_csv_path) vsosm = parse_borders_vs_osm(borders_vs_osm_csv_path) countries_synonyms = parse_countries_synonyms(countries_synonyms_csv_path) - stack = [CountryDict(v=version, id="Countries", g=[])] + stack = [CountryDict(v=int(version), id="Countries", g=[])] last = None with open(hierarchy_path) as f: for line in f: |