mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-07 09:02:02 -04:00
startup bug
This commit is contained in:
parent
c8588406d2
commit
c6206f52e4
@ -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…
x
Reference in New Issue
Block a user