forked from p15670423/monkey
Agent: Use response.text in ControlChannel
This commit is contained in:
parent
6d372485fc
commit
47f78d1a2d
|
@ -84,7 +84,9 @@ class ControlChannel(IControlChannel):
|
|||
)
|
||||
response.raise_for_status()
|
||||
|
||||
return [Credentials.from_mapping(credentials) for credentials in response.json]
|
||||
return [
|
||||
Credentials.from_mapping(credentials) for credentials in json.loads(response.text)
|
||||
]
|
||||
except (
|
||||
requests.exceptions.JSONDecodeError,
|
||||
requests.exceptions.ConnectionError,
|
||||
|
|
Loading…
Reference in New Issue