From d6c11dde0fc1fc2fcf71401c5216bee1624a008f Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 23 May 2016 14:59:22 -0400 Subject: [PATCH] [fix] args --- scripts/geodata/osm/osm_address_training_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/geodata/osm/osm_address_training_data.py b/scripts/geodata/osm/osm_address_training_data.py index e00fa833..682f319e 100644 --- a/scripts/geodata/osm/osm_address_training_data.py +++ b/scripts/geodata/osm/osm_address_training_data.py @@ -499,8 +499,8 @@ if __name__ == '__main__': subdivisions_rtree = OSMSubdivisionReverseGeocoder.load(args.subdivisions_rtree_dir) buildings_rtree = None - if args.subdivisions_rtree_dir: - buildings_rtree = OSMBuildingReverseGeocoder.load(args.buildings_rtree) + if args.buildingss_rtree_dir: + buildings_rtree = OSMBuildingReverseGeocoder.load(args.buildings_rtree_dir) geonames = None