Fix 'module' object is not callable

This commit is contained in:
Pierre-Louis Bonicoli
2017-08-07 18:47:55 +02:00
committed by Toshio Kuratomi
parent f9404b0d85
commit dbc422ea1c

View File

@@ -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