mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
Fixed a case of _EmptyCmdSet being named just EmptyCmdSet in call.
This commit is contained in:
parent
942a5aaf9a
commit
2db2141b90
2 changed files with 7 additions and 4 deletions
|
|
@ -494,7 +494,10 @@ def delay(delay=2, retval=None, callback=None):
|
|||
callback (func(retval)) - if given, this will be called with retval
|
||||
after delay seconds
|
||||
Returns:
|
||||
deferred that will fire with to_return after delay seconds
|
||||
deferred that will fire with callback after delay seconds. Note that
|
||||
if delay() is used in the commandhandler callback chain, the callback
|
||||
chain can be defined directly in the command body and don't need to be
|
||||
specified here.
|
||||
"""
|
||||
d = defer.Deferred()
|
||||
callb = callback or d.callback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue