mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Improve script self-description
This commit is contained in:
parent
098af3caba
commit
2781434fd4
1 changed files with 3 additions and 0 deletions
|
|
@ -165,6 +165,9 @@ class ScriptBase(with_metaclass(TypeclassBase, ScriptDB)):
|
|||
except Exception:
|
||||
return False
|
||||
|
||||
def __str__(self):
|
||||
return "<{cls} {key}>".format(cls=self.__class__.__name__, key=self.key)
|
||||
|
||||
def _start_task(self):
|
||||
"""
|
||||
Start task runner.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue