startup bug

This commit is contained in:
Hayden 2021-01-08 17:30:57 -09:00
parent c8588406d2
commit c6206f52e4

View file

@ -73,6 +73,7 @@ out_path = CWD.joinpath("temp", "index.html")
def generate_api_docs(app):
with open(out_path, "w") as fd:
out_path.parent.mkdir(exist_ok=True)
print(HTML_TEMPLATE % json.dumps(app.openapi()), file=fd)