Create delimited|multiple|events from the correct EventHook when using

delimited.event.chains
This commit is contained in:
jesopo 2018-09-26 20:28:05 +01:00
parent 3f5d5b1d21
commit f261b6d744

View file

@ -145,7 +145,7 @@ class EventHook(object):
event_obj = self
for event_name in event_chain:
if DEFAULT_MULTI_DELIMITER in event_name:
return self._make_multiple_hook(self, context,
return self._make_multiple_hook(event_obj, context,
event_name.split(DEFAULT_MULTI_DELIMITER))
event_obj = event_obj.get_child(event_name)