From 0b598060b682a1e9148d04bb08ac7d7c144926cb Mon Sep 17 00:00:00 2001 From: m Date: Sat, 14 Mar 2026 12:51:23 +0100 Subject: [PATCH] hot fix --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 3beb7f2..780e2b0 100644 --- a/app.py +++ b/app.py @@ -116,9 +116,9 @@ def post_detail(post_id): return "Post not found", 404 #get comments comments = get_comments_for_post(post_id) - if post.id == 10: + if post["id"] == 10: - post.template = "components/timeline_post.html" + post["template"] = "components/timeline_post.html" # 2. Pass the post dictionary (with the raw HTML content) directly to the template