From 66720672b9edcdb14e2b76a7a774b200e7e8fa47 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Thu, 7 Jul 2022 14:27:58 -0700 Subject: [PATCH] update rank_hugo_themes.py remove gcushen --- rank_hugo_themes.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rank_hugo_themes.py b/rank_hugo_themes.py index 872d3d6..167e1fd 100755 --- a/rank_hugo_themes.py +++ b/rank_hugo_themes.py @@ -101,10 +101,11 @@ def get_hugo_themes_list(): if response.status_code == 200: lower_case_themes_list = [] for x in response.text.splitlines(): - if x[0:10] == "gitlab.com" or x[0:10] == "github.com": - if x.lower() not in lower_case_themes_list: - THEMESLIST.append(x) - lower_case_themes_list.append(x.lower()) + if "gcushen" not in x: + if x[0:10] == "gitlab.com" or x[0:10] == "github.com": + if x.lower() not in lower_case_themes_list: + THEMESLIST.append(x) + lower_case_themes_list.append(x.lower()) print(response.status_code, get_hugo_themes_list.__name__)