diff options
| author | 2020-09-21 11:43:35 +0530 | |
|---|---|---|
| committer | 2020-09-21 11:43:35 +0530 | |
| commit | b23a9ce3ee4d2adc4c01f64b719526f023fe52f6 (patch) | |
| tree | aed5e1185c66c13585b139e4fe1307fbae8ed69a | |
| parent | Changed List[str]->Optional[List[str]] (diff) | |
changed List[str]->Optional[List[str]]
| -rw-r--r-- | bot/exts/evergreen/wikipedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/wikipedia.py b/bot/exts/evergreen/wikipedia.py index ab01e1ee..babf6620 100644 --- a/bot/exts/evergreen/wikipedia.py +++ b/bot/exts/evergreen/wikipedia.py @@ -22,7 +22,7 @@ class WikipediaCog(commands.Cog): self.http_session = bot.http_session @staticmethod - def formatted_wiki_urls(index: int, titles: str) -> List[str]: + def formatted_wiki_urls(index: int, titles: str) -> Optional[List[str]]: """Making formatted wikipedia links list.""" titles = f'`{index}` [{titles}]({WIKIPEDIA_URL.format(title=titles.replace(" ", "_"))})' return titles |