aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/wikipedia.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/exts/evergreen/wikipedia.py b/bot/exts/evergreen/wikipedia.py
index 01c13005..27e68397 100644
--- a/bot/exts/evergreen/wikipedia.py
+++ b/bot/exts/evergreen/wikipedia.py
@@ -60,9 +60,7 @@ class WikipediaSearch(commands.Cog):
lines = []
if raw_data["query"]["searchinfo"]["totalhits"]:
- results = raw_data["query"]["search"]
-
- for article in results:
+ for article in raw_data["query"]["search"]:
line = WIKI_SEARCH_RESULT.format(
name=article["title"],
description=unescape(