aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar xithrius <[email protected]>2021-02-13 00:34:33 -0800
committerGravatar xithrius <[email protected]>2021-02-13 00:34:33 -0800
commitf14c391e3a1228953cda29be7993c9a5ec51ca6f (patch)
tree2be8894122114ad014cd00b69c9f358db4a3c7ea
parentEscaping markdown in all fields that are created. (diff)
Made flake8 even happier.
-rw-r--r--bot/exts/info/pypi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/pypi.py b/bot/exts/info/pypi.py
index 73ec31870..3e326e8bb 100644
--- a/bot/exts/info/pypi.py
+++ b/bot/exts/info/pypi.py
@@ -4,10 +4,10 @@ import random
from discord import Embed
from discord.ext.commands import Cog, Context, command
+from discord.utils import escape_markdown
from bot.bot import Bot
from bot.constants import Colours, NEGATIVE_REPLIES
-from discord.utils import escape_markdown
URL = "https://pypi.org/pypi/{package}/json"
FIELDS = ("author", "requires_python", "summary", "license")