fix filepaths in merge script
This commit is contained in:
parent
70f22c1d78
commit
0a948e38ca
4
.github/scripts/merge_csv_to_topojson.py
vendored
4
.github/scripts/merge_csv_to_topojson.py
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue