aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-06-21 01:46:46 +0200
committerGravatar Numerlor <[email protected]>2020-06-21 01:46:46 +0200
commitbdccd72747829560eddecc2ae247e5da3a936237 (patch)
treec487cbe471a438e57d790c1a4e490245cdb78b71
parentAlso check signatures before selected symbol when collecting 3 signatures. (diff)
Remove unnecessary join.
`find_all_text_until_tag` already returns a string so a join is not needed.
-rw-r--r--bot/cogs/doc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py
index b0adc52ba..35139a050 100644
--- a/bot/cogs/doc.py
+++ b/bot/cogs/doc.py
@@ -361,7 +361,7 @@ class Doc(commands.Cog):
signatures = []
description_element = heading.find_next_sibling("dd")
description_pos = html.find(str(description_element))
- description = "".join(cls.find_all_text_until_tag(description_element, ("dt",)))
+ description = cls.find_all_text_until_tag(description_element, ("dt",))
for element in (
*reversed(heading.find_previous_siblings("dt", limit=2)),