aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-12-03 13:35:39 +0300
committerGravatar GitHub <[email protected]>2021-12-03 13:35:39 +0300
commit0150914b469ae5a8e4b407b4ffc1a15e70bad614 (patch)
tree33cd2bd886869bb506c1ee775324fad477638168
parentMerge pull request #1985 from python-discord/subscribe-redirect (diff)
Update PEP Repo URL
The PEP github repo changed branch from master, to main, breaking our code. Switch the ref from master to main in our code.
-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 259095b50..8c0db18bc 100644
--- a/bot/exts/info/pep.py
+++ b/bot/exts/info/pep.py
@@ -16,7 +16,7 @@ log = get_logger(__name__)
ICON_URL = "https://www.python.org/static/opengraph-icon-200x200.png"
BASE_PEP_URL = "http://www.python.org/dev/peps/pep-"
-PEPS_LISTING_API_URL = "https://api.github.com/repos/python/peps/contents?ref=master"
+PEPS_LISTING_API_URL = "https://api.github.com/repos/python/peps/contents?ref=main"
pep_cache = AsyncCache()