diff options
author | 2022-10-28 01:23:38 +0300 | |
---|---|---|
committer | 2022-10-28 01:23:38 +0300 | |
commit | 1e538704f5f3518b805720eb38eaa1743b18e2f1 (patch) | |
tree | 439f34ab45479df436dde91ee0101b8f3ea40650 /pydis_site | |
parent | Merge branch 'main' into bot-tags (diff) |
Update pydis_site/apps/content/utils.py
Co-authored-by: Johannes Christ <[email protected]>
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/content/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/utils.py b/pydis_site/apps/content/utils.py index a1171a45..d533d95b 100644 --- a/pydis_site/apps/content/utils.py +++ b/pydis_site/apps/content/utils.py @@ -235,7 +235,7 @@ def get_tag(path: str, *, skip_sync: bool = False) -> typing.Union[Tag, list[Tag """ path = path.split("/") if len(path) == 2: - group, name = path[0], path[1] + group, name = path else: name = path[0] group = None |