mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Ran black on sources, add black config
This commit is contained in:
parent
c405c909f1
commit
a22ca9a925
32 changed files with 1031 additions and 232 deletions
|
|
@ -2041,8 +2041,10 @@ class DefaultCharacter(DefaultObject):
|
|||
_content_types = ("character",)
|
||||
# lockstring of newly created rooms, for easy overloading.
|
||||
# Will be formatted with the appropriate attributes.
|
||||
lockstring = ("puppet:id({character_id}) or pid({account_id}) or perm(Developer) or pperm(Developer);"
|
||||
"delete:id({account_id}) or perm(Admin)")
|
||||
lockstring = (
|
||||
"puppet:id({character_id}) or pid({account_id}) or perm(Developer) or pperm(Developer);"
|
||||
"delete:id({account_id}) or perm(Admin)"
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def create(cls, key, account=None, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue