remove unnecessary blank line

This commit is contained in:
Hugh Rundle 2021-01-25 13:51:25 +11:00
parent 3b41f76280
commit f9050f5e32

View file

@ -35,7 +35,6 @@ for feature in json_data['features']:
downcased = titlecase(feature['properties'][geojson_match]) # titlecase name downcased = titlecase(feature['properties'][geojson_match]) # titlecase name
feature['properties']['name'] = downcased feature['properties']['name'] = downcased
# write out new geojson file with the updates # write out new geojson file with the updates
with open(output_file, 'w') as newfile: with open(output_file, 'w') as newfile:
json.dump(json_data, newfile, separators=(',', ':')) json.dump(json_data, newfile, separators=(',', ':'))