mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Code that doesn't compile is an antipattern
This commit is contained in:
parent
15f9e12a0c
commit
b1398e106e
1 changed files with 2 additions and 1 deletions
|
|
@ -2116,7 +2116,8 @@ class DefaultCharacter(DefaultObject):
|
|||
|
||||
return obj, errors
|
||||
|
||||
def _validate(self, key):
|
||||
@classmethod
|
||||
def _validate(cls, key):
|
||||
"""
|
||||
Validate that character name is acceptable prior to creating. Note that this should be refactored
|
||||
to support i18n for non-latin scripts, but as we (currently) have no bug reports requesting better
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue