2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Fix display of error on join of collective

This commit is contained in:
Jarrod Johnson 2018-10-08 09:54:03 -04:00
parent 8d9a082739
commit 73c06fd25e

View File

@ -66,8 +66,9 @@ def join_collective(server, invitation):
'invitation': invitation,
'server': server}})
res = tlvdata.recv(s)
print(res.get('collective',
{'status': 'Unknown response: ' + repr(res)})['status'])
res = res.get('collective',
{'status': 'Unknown response: ' + repr(res)})
print(res.get('status', res['error']))
def show_collective():