Fixed assignment of the session clientId and port_num fields.
This commit is contained in:
parent
1dfacdbaea
commit
695da8a153
1 changed files with 2 additions and 2 deletions
|
@ -214,9 +214,9 @@ class CoreApiBridge(object):
|
|||
print "\topaque=", sessMsg.getOpaque()
|
||||
'''
|
||||
sessions = sessMsg.getNumber().split("|")
|
||||
port_num = int(sessions[0])
|
||||
port_num = int(sessions[-1])
|
||||
newMsg = coreapi2.CoreMessage()
|
||||
newMsg.session.clientId = 'client' + sessions[0]
|
||||
newMsg.session.clientId = 'client' + sessions[-1]
|
||||
newMsg.session.port_num = port_num
|
||||
|
||||
# List active experiments in the server
|
||||
|
|
Loading…
Reference in a new issue