Skip to content

Commit

Permalink
Merge pull request #158 from yozachar/workshop
Browse files Browse the repository at this point in the history
fix: `IGNORED_LANGUAGES` is now case-sensitive
  • Loading branch information
yozachar authored Apr 14, 2024
2 parents 302cbcd + 3f5f5a5 commit 1d056b6
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 1d056b6

Please sign in to comment.