From 9fbb14a410209bb7481aac5f5321b2b66d650178 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sat, 21 Jan 2023 02:04:14 -0800 Subject: [PATCH] fix license not in themes_toml for Henry Hugo Theme --- rank_hugo_themes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rank_hugo_themes.py b/rank_hugo_themes.py index 4fd4892..5f075c1 100755 --- a/rank_hugo_themes.py +++ b/rank_hugo_themes.py @@ -583,6 +583,8 @@ def parse_themes_toml_for_each_hugo_themes(): else: if theme.theme_license is not None: theme.theme_license = None + if "name" in theme_toml and theme_toml["name"] == "Henry Hugo Theme": + theme.theme_license = "MIT" if theme_toml_has_min_ver(theme_toml): corrected_mv = get_corrected_min_ver( get_min_ver_from_theme_toml(theme_toml)