Skip to content

Commit

Permalink
Invoking stream subscribers with **kwargs instead of kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Aug 31, 2016
1 parent 6c185e8 commit 1b2fc29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion holoviews/streams.py
Expand Up @@ -101,7 +101,7 @@ def trigger(cls, streams):
subscribers = util.unique_iterator([s for subscribers in groups+hidden
for s in subscribers])
for subscriber in subscribers:
subscriber(dict(union))
subscriber(**dict(union))


@classmethod
Expand Down
2 changes: 1 addition & 1 deletion tests/teststreams.py
Expand Up @@ -12,7 +12,7 @@ def __init__(self):
self.call_count = 0
self.kwargs = None

def __call__(self, kwargs):
def __call__(self, **kwargs):
self.call_count += 1
self.kwargs = kwargs

Expand Down

0 comments on commit 1b2fc29

Please sign in to comment.