Permalink
Browse files

Merge pull request #21 from buglabs/minimal-connect-body

Send the most minimal body for connecting in produce.py
  • Loading branch information...
2 parents 519268e + 7c99353 commit bd6770520c920e7f13a73ce0ff10f6733e38f00c Jonathan Dahan committed Nov 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 produce.py
View
@@ -41,7 +41,7 @@ def produce(hostname, api_key, swarm_id, resource_id, wrap):
try:
msg = sys.stdin.readline()
if msg == "\n":
- stripped_msg = '{"message": {"to": ["' + swarm_id + '"], "payload":}}'
+ stripped_msg = '\n\n'
elif (len(msg) < 1):
break
else:

0 comments on commit bd67705

Please sign in to comment.