mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Fix display of error on join of collective
This commit is contained in:
parent
8d9a082739
commit
73c06fd25e
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user