fix func_queue typehint

This commit is contained in:
jesopo 2020-08-26 10:30:50 +00:00
parent b3c47fab82
commit ee9d5a304f

View file

@ -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: