Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMaksim Andrianov <maksimandrianov1@gmail.com>2019-06-16 14:02:58 +0300
committergmoryes <gmoryes@gmail.com>2019-06-17 13:35:30 +0300
commitfd9e91b45200367058b5ab1c60cf45ca677b74e4 (patch)
tree98ed6401c223f0331aa2baf487933138db2f36ed /tools
parentdd53786c51a3146a8c010d166fd090189fcc5893 (diff)
[python] Fixed version type.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/python/post_generation/hierarchy_to_countries.py2
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: