fix filepaths in merge script

This commit is contained in:
Hugh Rundle 2021-01-26 17:37:39 +11:00 committed by GitHub
parent 70f22c1d78
commit 0a948e38ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,8 @@ import csv
import json import json
# files to merge # files to merge
csv_file = '../../website/data/library_services_information.csv' csv_file = './website/data/library_services_information.csv'
topojson_file = '../../website/data/boundaries.topo.json' topojson_file = './website/data/boundaries.topo.json'
geo = open(topojson_file, 'r') # open the topo.json file geo = open(topojson_file, 'r') # open the topo.json file
json_data = json.loads(geo.read()) # read the file and load into a dict json_data = json.loads(geo.read()) # read the file and load into a dict