From 3f5f5a582ce87edeafa8a0271890a5150117dcbd Mon Sep 17 00:00:00 2001 From: Jovial Joe Jayarson Date: Sun, 14 Apr 2024 20:16:32 +0530 Subject: [PATCH] fix: `IGNORED_LANGUAGES` is now case-sensitive --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 64098b3..a090973 100644 --- a/main.py +++ b/main.py @@ -332,7 +332,7 @@ def prep_content(stats: dict[str, Any], /): ignored_languages = _extract_ignored_languages() for idx, lang in enumerate(lang_info): lang_name = str(lang["name"]) - if ignored_languages and lang_name.lower() in ignored_languages: + if ignored_languages and lang_name in ignored_languages: continue lang_time = str(lang["text"]) if wk_i.show_time else "" lang_ratio = float(lang["percent"])