write to public path

This commit is contained in:
j 2018-08-06 19:19:57 +01:00
parent 6150d3323d
commit eb9edf2da7
1 changed files with 1 additions and 1 deletions

View File

@ -94,4 +94,4 @@ for string in sorted(strings):
)
html.append(': '.join(parts_))
template = open('ontology_template.html').read()
open('ontology.html', 'w').write(template.replace('{TREE}', '<br>\n '.join(html)))
open('../static/ontology/ontology.html', 'w').write(template.replace('{TREE}', '<br>\n '.join(html)))