Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/usr/bin/env python2
  2.  
  3. class Mod:
  4.  
  5. def __init__( self, sendq, publisher ):
  6. self.sendq = sendq
  7. self.publisher = publisher
  8. self.name = "hello_world"
  9.  
  10. def run( self, data ):
  11. self.sendq.put( { "style" : "good", "msg" : "hello world" } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement