Fix module params assignment in jabber module (#25850)

Fix corrects variable assignment from module params

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/4420/head
Abhijeet Kasurde 2017-06-19 01:52:27 +05:30 committed by René Moser
parent 8edcef7a84
commit 561d678f52
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ def main():
else:
host = server
if module.params['encoding']:
xmpp.simplexml.ENCODING = params['encoding']
xmpp.simplexml.ENCODING = module.params['encoding']
msg = xmpp.protocol.Message(body=module.params['msg'])