mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 04:41:27 +00:00
Switch last remaining decode to to_text (#24269)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user