diff options
author | 2018-06-06 18:10:45 +0100 | |
---|---|---|
committer | 2018-06-06 18:10:45 +0100 | |
commit | d2ddd7468b97bfb33855cef2c55361d86c4b65c9 (patch) | |
tree | 57eeb20f5456573f8c32415538efc131c3f61e93 | |
parent | Fix build and build base on Travis (diff) |
Fix PEP machine
-rw-r--r-- | bot/cogs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py index 3d3d0de36..f54ce8d5e 100644 --- a/bot/cogs/utils.py +++ b/bot/cogs/utils.py @@ -31,7 +31,7 @@ class Utils: """ # Attempt to fetch the PEP from Github. - pep_url = f"{self.base_github_pep_url}{pep_number:04}.txt" + pep_url = f"{self.base_github_pep_url}{pep_number.zfill(4)}.txt" log.trace(f"Requesting PEP {pep_number} with {pep_url}") response = await self.bot.http_session.get(pep_url) |