summaryrefslogtreecommitdiff
path: root/cherrypy/process
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-10-29 15:01:26 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-10-29 15:02:29 -0400
commitb07f8ca918197aecd7336888e249a876eee55ad4 (patch)
tree97e3e9800974d7628fa1d4a5a8beb46e37256eb0 /cherrypy/process
parent62f66f4b8b752aa6949fe3b2d96e85cc7d9857df (diff)
downloadcherrypy-git-b07f8ca918197aecd7336888e249a876eee55ad4.tar.gz
Fix partial so the positional argument is 'callback' and not 'channel'.
Diffstat (limited to 'cherrypy/process')
-rw-r--r--cherrypy/process/wspbus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/process/wspbus.py b/cherrypy/process/wspbus.py
index 129991d5..06348623 100644
--- a/cherrypy/process/wspbus.py
+++ b/cherrypy/process/wspbus.py
@@ -192,7 +192,7 @@ class Bus(object):
if callback is None:
return functools.partial(
self.subscribe,
- channel=channel,
+ channel,
priority=priority,
)