From 346139aa968036384beaeee5d5db0dbc74ae43bd Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 10 Nov 2023 17:38:21 +0200 Subject: [PATCH] fix owoify being case-sensitive --- files/helpers/owoify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/owoify.py b/files/helpers/owoify.py index d3be0cb545..61c51c21c1 100644 --- a/files/helpers/owoify.py +++ b/files/helpers/owoify.py @@ -41,7 +41,7 @@ def owoify(source, chud_phrase): return ''.join(result_strings) def owoify_map_token_custom(token, chud_words): - if token.word in chud_words: + if token.word.lower() in chud_words: return token for pattern in OWO_EXCLUDE_PATTERNS: