Commit e4ec8395 authored by Amos Latteier's avatar Amos Latteier

fixed trigger so that msg is sent regardless of thunk.

parent 678cba32
......@@ -77,7 +77,7 @@ class trigger (asyncore.dispatcher):
msg = str(id(thunk))
else:
msg = 'Bang!'
self.trigger.sendto (msg, self.addr)
self.trigger.sendto (msg, self.addr)
def handle_read (self):
what, where = self.recvfrom (128)
......
......@@ -77,7 +77,7 @@ class trigger (asyncore.dispatcher):
msg = str(id(thunk))
else:
msg = 'Bang!'
self.trigger.sendto (msg, self.addr)
self.trigger.sendto (msg, self.addr)
def handle_read (self):
what, where = self.recvfrom (128)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment