1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Another place that needs to be json_dict_bytes_to_unicode

This commit is contained in:
Toshio Kuratomi 2015-01-26 22:04:51 -08:00
parent 0f6b87d33e
commit a63e4c595f
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ class InventoryScript(object):
if out.strip() == '':
return dict()
try:
return json_dict_unicode_to_bytes(utils.parse_json(out))
return json_dict_bytes_to_unicode(utils.parse_json(out))
except ValueError:
raise errors.AnsibleError("could not parse post variable response: %s, %s" % (cmd, out))

View file

@ -148,7 +148,7 @@ class InventoryScript(object):
if out.strip() == '':
return dict()
try:
return json_dict_unicode_to_bytes(utils.parse_json(out))
return json_dict_bytes_to_unicode(utils.parse_json(out))
except ValueError:
raise errors.AnsibleError("could not parse post variable response: %s, %s" % (cmd, out))