Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python2
- class Mod:
- def __init__( self, sendq, publisher ):
- self.sendq = sendq
- self.publisher = publisher
- self.name = "hello_world"
- def run( self, data ):
- self.sendq.put( { "style" : "good", "msg" : "hello world" } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement