fix "Gnu/Linux"

pull/211/head
Aevann 2023-09-30 00:27:55 +03:00
parent 73fa4922a6
commit 02bb7da0c1
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ def sub_matcher(match, X_FOR_REPLACING):
if match_str.isupper():
return repl.upper()
if match_str[0].isupper():
return repl.capitalize()
return repl[0].upper() + repl[1:]
return repl
def sub_matcher_slurs(match):