aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/tags.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/info/tags.py b/bot/exts/info/tags.py
index 34592adde..884e8e10f 100644
--- a/bot/exts/info/tags.py
+++ b/bot/exts/info/tags.py
@@ -275,7 +275,8 @@ class Tags(Cog):
if tag.accessible_by(ctx.author)
]
- if (tag := self._tags.get(tag_identifier)) is None:
+ tag = self._tags.get(tag_identifier)
+ if tag is None:
if len(filtered_tags) == 1:
tag_identifier = filtered_tags[0][0]
tag = filtered_tags[0][1]