mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update gendersub in master too
This commit is contained in:
parent
7aa6883b94
commit
255ef3d4db
1 changed files with 2 additions and 2 deletions
|
|
@ -143,9 +143,9 @@ class GenderCharacter(DefaultCharacter):
|
|||
"""
|
||||
try:
|
||||
if text and isinstance(text, tuple):
|
||||
text = (self._RE_GENDER_PRONOUN.sub(self._get_pronoun, text[0]), *text[1:])
|
||||
text = (_RE_GENDER_PRONOUN.sub(self._get_pronoun, text[0]), *text[1:])
|
||||
else:
|
||||
text = self._RE_GENDER_PRONOUN.sub(self._get_pronoun, text)
|
||||
text = _RE_GENDER_PRONOUN.sub(self._get_pronoun, text)
|
||||
except TypeError:
|
||||
pass
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue