mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 03:30:05 -05:00
Fix little output glitch
This commit is contained in:
parent
c424af5124
commit
54e2192dde
4
dist/server.py
vendored
4
dist/server.py
vendored
@ -72,12 +72,12 @@ def setup_worker_listener(addrs, tq, rq):
|
||||
worker_addr = readyq.get()
|
||||
wsock.send_multipart([worker_addr, '', pickle.dumps(ctask)])
|
||||
|
||||
@spawn
|
||||
@spawn
|
||||
def read_rsps():
|
||||
while True:
|
||||
rsp = wsock.recv_multipart(copy=False)
|
||||
if rsp[2].bytes != '':
|
||||
print '< ', ' '.join([r.bytes for r in rsp[1:-1]])
|
||||
print '< ', ' '.join([r.bytes for r in rsp[2:-1]])
|
||||
rq.put(rsp[2:])
|
||||
readyq.put(rsp[0])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user