From fd454c617c1522595f2b67bba73ce392d384c1f8 Mon Sep 17 00:00:00 2001 From: Arjix <53124886+ArjixWasTaken@users.noreply.github.com> Date: Mon, 4 Oct 2021 20:30:02 +0300 Subject: [PATCH] Update site-list.py --- .github/site-list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/site-list.py b/.github/site-list.py index 344d0d7d..7b9b7c84 100644 --- a/.github/site-list.py +++ b/.github/site-list.py @@ -55,7 +55,7 @@ with open("README.md", "r+", encoding='utf-8') as readme: for site in enabled_sites: if site in sites: readme.write( - "- [{0}]({1}) \n".format(sub("^https?://", "", sites[site]), sites[site])) + "- [{0}]({1}) \n".format(sub("^https?://(?:www\.)?", "", sites[site]), sites[site])) readme.write(END_MARKER) readme.write(raw.split(END_MARKER)[-1])