aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-09-13 18:40:35 +0100
committerGravatar GitHub <[email protected]>2023-09-13 17:40:35 +0000
commitb63306dbf4da0771da98edc69669db413c4fc7be (patch)
treeac514aa5dc86407fd122091f3382b8c69acfefb9
parentBump deepdiff from 6.4.1 to 6.5.0 (#2754) (diff)
Update pep listings URL (#2758)
A upstream change meant that this api moved into the /peps sub path. Co-authored-by: Senjan21 <[email protected]> Co-authored-by: Bast <[email protected]>
-rw-r--r--bot/exts/info/pep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/pep.py b/bot/exts/info/pep.py
index 08ccbddc5..2b552dc4f 100644
--- a/bot/exts/info/pep.py
+++ b/bot/exts/info/pep.py
@@ -14,7 +14,7 @@ log = get_logger(__name__)
ICON_URL = "https://www.python.org/static/opengraph-icon-200x200.png"
BASE_PEP_URL = "https://peps.python.org/pep-"
-PEPS_LISTING_API_URL = "https://api.github.com/repos/python/peps/contents?ref=main"
+PEPS_LISTING_API_URL = "https://api.github.com/repos/python/peps/contents/peps?ref=main"
pep_cache = AsyncCache()