Skip to content
Browse files

add target to temp outputs in zmq bus

  • Loading branch information...
1 parent 2eded1a commit f13b5e9c35b78acaf44dd046a190507c5b12da61 @eastein committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 chillmon
View
2 chillmon
@@ -130,7 +130,7 @@ class ChillmonBot(mediorc.IRC) :
def do_work(self) :
if self.zmqpub :
self.zmqpub.send({
- 'temps' : dict([(k,v.read()) for k,v in self.temp_probes.items()]),
+ 'temps' : dict([(k,v.read()) for k,v in self.temp_probes.items()] + [('target', self.pid.target)]),
'pidstate' : self.pid.state
})
self.pid.step()

0 comments on commit f13b5e9

Please sign in to comment.
Something went wrong with that request. Please try again.