aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py
index f54ce8d5e..ee1f0a199 100644
--- a/bot/cogs/utils.py
+++ b/bot/cogs/utils.py
@@ -46,7 +46,7 @@ class Utils:
# Assemble the embed
pep_embed = Embed(
title=f"**PEP {pep_number} - {pep_header['Title']}**",
- description=f"[Link]({self.base_pep_url}{pep_number:04})",
+ description=f"[Link]({self.base_pep_url}{pep_number.zfill(4)})",
)
pep_embed.set_thumbnail(url="https://www.python.org/static/opengraph-icon-200x200.png")