Skip to content

Commit

Permalink
use the channels of the event when wait()-ing
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceone committed Jun 11, 2015
1 parent 16d52a1 commit 8e677af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions circuits/core/manager.py
Expand Up @@ -490,6 +490,7 @@ def waitEvent(self, event, *channels, **kwargs): # noqa
if isinstance(event, Event):
event_object = event
event_name = event.name
channels = event.channels or channels
else:
event_object = None
event_name = event
Expand Down

0 comments on commit 8e677af

Please sign in to comment.