diff --git a/server.js b/server.js index 73edfa98bfdc1..00d923c6fb636 100644 --- a/server.js +++ b/server.js @@ -1495,7 +1495,7 @@ cache(function(data, match, sendBadge, request) { badgeData.text[1] = hasWheel ? 'yes' : 'no'; badgeData.colorscheme = hasWheel ? 'brightgreen' : 'red'; sendBadge(format, badgeData); - } else if (info == 'py_versions') { + } else if (info == 'pyversions') { var versions = []; var pattern = /^Programming Language \:\: Python \:\: (\d\.\d)$/; for (var i = 0; i < data.info.classifiers.length; i++) { diff --git a/try.html b/try.html index 6ac6f2587c59c..6fd78ac101f68 100644 --- a/try.html +++ b/try.html @@ -523,8 +523,8 @@
https://img.shields.io/pypi/wheel/Django.svg
https://img.shields.io/pypi/py_versions/Django.svg
https://img.shields.io/pypi/pyversions/Django.svg