From 2e7a106e7542e3d5ed1959f758e4a8481f327f6b Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 9 Feb 2025 23:39:18 +0000 Subject: [PATCH] feat: add environment configuration with default values for dev and prod --- 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()