From e8db5dcfb66e0045e863881c2d3173c9d2b7d6e2 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Fri, 6 Sep 2024 12:41:20 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[-bug]=20Ensure=20that=20PyPi=20?= =?UTF-8?q?downloads=20link=20is=20lowercase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/__documentation/__postprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/__documentation/__postprocess.py b/template/__documentation/__postprocess.py index ec2d65e..f7b79e3 100644 --- a/template/__documentation/__postprocess.py +++ b/template/__documentation/__postprocess.py @@ -244,7 +244,7 @@ def UpdateReadmeFile(): badges += [ "[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/{{ python_package_pypi_name }}?color=dark-green)](https://pypi.org/project/{{ python_package_pypi_name }}/)", "[![PyPI - Version](https://img.shields.io/pypi/v/{{ python_package_pypi_name }}?color=dark-green)](https://pypi.org/project/{{ python_package_pypi_name }}/)", - "[![PyPI - Downloads](https://img.shields.io/pypi/dm/{{ python_package_pypi_name }})](https://pypistats.org/packages/{{ python_package_pypi_name }})", + "[![PyPI - Downloads](https://img.shields.io/pypi/dm/{{ python_package_pypi_name.lower() }})](https://pypistats.org/packages/{{ python_package_pypi_name.lower() }})", ] if "{{ python_package_generate_ci_openssf }}".lower() == "true":