aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/filter_lists.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/filter_lists.py b/bot/cogs/filter_lists.py
index 52db1fcb5..496d45322 100644
--- a/bot/cogs/filter_lists.py
+++ b/bot/cogs/filter_lists.py
@@ -147,8 +147,8 @@ class FilterLists(Cog):
for content, metadata in result.items():
line = f"• `{content}`"
- if metadata.get("comment"):
- line += f" - {metadata.get('comment')}"
+ if comment := metadata.get("comment"):
+ line += f" - {comment}"
lines.append(line)
lines = sorted(lines)