From bca55c25ffb3631ba05889a88908a02ccb2beb2a Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Sun, 21 Jun 2020 02:42:26 +0200 Subject: Fix typehint. --- bot/cogs/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py index 4eea06386..a01f6d64d 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc.py @@ -125,7 +125,7 @@ class DocMarkdownConverter(MarkdownConverter): return super().convert_a(el, text) -def markdownify(html: str, *, url: str = "") -> DocMarkdownConverter: +def markdownify(html: str, *, url: str = "") -> str: """Create a DocMarkdownConverter object from the input html.""" return DocMarkdownConverter(bullets='•', page_url=url).convert(html) -- cgit v1.2.3