only add the rpc postfix if it is missing
the fem-scripts requires the rpc-postfix to be present in the given url
This commit is contained in:
parent
bf372323f6
commit
658691c0a7
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ import sys
|
|||
# method: method to access
|
||||
############################
|
||||
def C3TClient(url, method, group, host, secret, args):
|
||||
url = url + "rpc"
|
||||
if 'rpc' != url[-3:]:
|
||||
url = url + "rpc"
|
||||
|
||||
# if host == None:
|
||||
# host = socket.getfqdn()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue