diff options
| author | 2020-06-21 02:42:26 +0200 | |
|---|---|---|
| committer | 2020-06-21 02:42:26 +0200 | |
| commit | bca55c25ffb3631ba05889a88908a02ccb2beb2a (patch) | |
| tree | 87a31d26ba6aab287e2b321c778f9e254b99db92 | |
| parent | Renamed existing symbols from `NO_OVERRIDE_GROUPS` instead of replacing. (diff) | |
Fix typehint.
| -rw-r--r-- | bot/cogs/doc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |