diff --git a/scripts/generate.py b/scripts/generate.py index 05c3f63..e2f2e1b 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -169,7 +169,7 @@ def main(src_top, dest_top): json.dump(obj=graph, fp=f, indent=2) graph_explorer_path = os.path.join(dest_top, "graph.html") with open(graph_explorer_path, 'wt') as f: - with open(os.path.join(os.path.dirname(os.path.abspath(dest_top)), 'static', 'graph_explorer.html'), 'rt') as template: + with open(os.path.join(os.path.dirname(os.path.abspath(dest_top)), '..', 'static', 'graph_explorer.html'), 'rt') as template: source = template.read() f.write(source.replace('', json.dumps(graph)))