forked from rDrama/rDrama
fix owoify being case-sensitive
parent
1b7c1e51c6
commit
346139aa96
|
@ -41,7 +41,7 @@ def owoify(source, chud_phrase):
|
||||||
return ''.join(result_strings)
|
return ''.join(result_strings)
|
||||||
|
|
||||||
def owoify_map_token_custom(token, chud_words):
|
def owoify_map_token_custom(token, chud_words):
|
||||||
if token.word in chud_words:
|
if token.word.lower() in chud_words:
|
||||||
return token
|
return token
|
||||||
|
|
||||||
for pattern in OWO_EXCLUDE_PATTERNS:
|
for pattern in OWO_EXCLUDE_PATTERNS:
|
||||||
|
|
Loading…
Reference in New Issue