Execute checklist on dummy event listeners

This commit is contained in:
Ben 2019-09-09 22:11:50 +01:00
parent 8018a7c21e
commit 90ce0a0ab7

View File

@ -107,6 +107,7 @@ class _XMLListener(_Listener):
class _DummyListener(_Listener):
async def __call__(self, p, *_):
super()._check_list(p)
handler_call_arguments = [self.instance, p] if self.instance is not None else [p]
return await self.callback(*handler_call_arguments)