aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-06 18:13:44 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-06 18:13:44 +0100
commit05d80709ccceddf89cec9008478eb96e695183d6 (patch)
treeec3199c24d0235ad3d33962d26c91530f7b1adce
parentFix PEP machine (diff)
Fix PEP machine
-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")