These are chat archives for cherrypy/cherrypy

27th
Dec 2017
ingoogni
@ingoogni
Dec 27 2017 10:39
def prep_data(message):
    [...]

cherrypy.engine.subscribe('a', prep_data)
cherrypy.engine.subscribe('b', prep_data)
cherrypy.engine.subscribe('c', prep_data)
in this situation, is there a way for the callable to now from what channel the message comes, other than stuffing the origin in the message?