mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Switch last remaining decode to to_text (#24269)
This commit is contained in:
parent
b731c2d809
commit
7dbec976af
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def main():
|
|||
else:
|
||||
response = u'%s\n' % to_text(value).rstrip(u'\n')
|
||||
|
||||
events[key.decode()] = response
|
||||
events[to_text(key)] = response
|
||||
|
||||
if args.strip() == '':
|
||||
module.fail_json(rc=256, msg="no command given")
|
||||
|
|
Loading…
Reference in a new issue