fix func_queue typehint
This commit is contained in:
parent
b3c47fab82
commit
ee9d5a304f
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ class Bot(object):
|
|||
self._trigger_both()
|
||||
return returned
|
||||
|
||||
func_queue = queue.Queue(1) # type: queue.Queue[str]
|
||||
func_queue: queue.Queue[typing.Tuple[TriggerResult, str]
|
||||
] = queue.Queue(1)
|
||||
|
||||
def _action():
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue