pull/8/head
Nicolas Jouanin 2015-08-20 22:29:54 +02:00
rodzic e4a2097499
commit 688d9d0091
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -130,7 +130,7 @@ class PluginManager:
if event_method:
tasks.append(self._schedule_coro(event_method(*args, **kwargs)))
if wait:
if len(tasks) > 0:
if tasks:
yield from asyncio.wait(tasks, loop=self._loop)
else:
self._fired_events.extend(tasks)