Fix 'module' object is not callable
This commit is contained in:
parent
f9404b0d85
commit
dbc422ea1c
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ def main():
|
|||
password = module.params['password']
|
||||
|
||||
# initialize connection
|
||||
client = xmlrpc_client(saturl)
|
||||
client = xmlrpc_client.Server(saturl)
|
||||
session = client.auth.login(user, password)
|
||||
|
||||
# get systemid
|
||||
|
|
Loading…
Reference in a new issue