Skip to content

Commit f456f4e

Browse files
committed
Fix example with wrong handler parameter name
1 parent 05a89c9 commit f456f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pub_sub_more_on_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def send_messages(agent):
3131
time.sleep(2)
3232

3333
bob.unsubscribe('listener', 'a')
34-
bob.subscribe('listener', handlers={'b': log_b})
34+
bob.subscribe('listener', handler={'b': log_b})
3535

3636
time.sleep(2)
3737

0 commit comments

Comments
 (0)