mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 05:25:26 +02:00
startup bug
This commit is contained in:
parent
c8588406d2
commit
c6206f52e4
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ out_path = CWD.joinpath("temp", "index.html")
|
||||||
|
|
||||||
def generate_api_docs(app):
|
def generate_api_docs(app):
|
||||||
with open(out_path, "w") as fd:
|
with open(out_path, "w") as fd:
|
||||||
|
out_path.parent.mkdir(exist_ok=True)
|
||||||
print(HTML_TEMPLATE % json.dumps(app.openapi()), file=fd)
|
print(HTML_TEMPLATE % json.dumps(app.openapi()), file=fd)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue