From 1f2597ff4ebb98da171519a6801995d6e1a0ab56 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 27 May 2024 19:43:46 +0900 Subject: [PATCH] Fix wrong summary class name construction --- activities/models/post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activities/models/post.py b/activities/models/post.py index fef4db4e..b3818de3 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -460,7 +460,7 @@ def summary_class(self) -> str: """ if not self.summary: return "" - return "summary-{self.id}" + return f"summary-{self.id}" @property def stats_with_defaults(self):