Skip to content

Commit 9084991

Browse files
Fix return type annotation
Co-authored-by: Anand <[email protected]>
1 parent ca18755 commit 9084991

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bot/exts/info/code_snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def _fetch_bitbucket_snippet(
178178
)
179179
return self._snippet_to_codeblock(file_contents, file_path, start_line, end_line)
180180

181-
async def _fetch_pastebin_snippets(self, paste_id: str, selections: str) -> str:
181+
async def _fetch_pastebin_snippets(self, paste_id: str, selections: str) -> list[str]:
182182
"""Fetches snippets from paste.pythondiscord.com."""
183183
paste_data = await self._fetch_response(
184184
f"https://paste.pythondiscord.com/api/v1/paste/{paste_id}",

0 commit comments

Comments
 (0)