Skip to content

Commit

Permalink
fix: IGNORED_LANGUAGES is now case-sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
yozachar committed Apr 14, 2024
1 parent 302cbcd commit 3f5f5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 3f5f5a5

Please sign in to comment.