From a203ece6a4da8a5d0a5608df4172583ba25df789 Mon Sep 17 00:00:00 2001 From: retoor Date: Mon, 10 Feb 2025 00:39:18 +0100 Subject: [PATCH] Environment added. --- src/dreamii/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dreamii/app.py b/src/dreamii/app.py index 359b5df..eaa2bce 100644 --- a/src/dreamii/app.py +++ b/src/dreamii/app.py @@ -85,7 +85,7 @@ class TemplateView(BaseView): "{% markdown %}"+content+"{% endmarkdown %}", "" ]) - with open(".temp.html", "w+") as f: + with open(".temp.html", "w+") as f: f.write(markdown_default_page) content = aiohttp_jinja2.render_string(".temp.html",self.request,context=context) pathlib.Path(".temp.html").unlink()