mirror of https://github.com/MISP/PyMISP
parent
3ceba3feb1
commit
5a0080289f
|
@ -2580,7 +2580,7 @@ class PyMISP:
|
||||||
return self._csv_to_dict(normalized_response_text) # type: ignore
|
return self._csv_to_dict(normalized_response_text) # type: ignore
|
||||||
else:
|
else:
|
||||||
return normalized_response_text
|
return normalized_response_text
|
||||||
elif return_format in ['stix-xml', 'text']:
|
elif return_format not in ['json', 'yara-json']:
|
||||||
return self._check_response(response)
|
return self._check_response(response)
|
||||||
|
|
||||||
normalized_response = self._check_json_response(response)
|
normalized_response = self._check_json_response(response)
|
||||||
|
|
Loading…
Reference in New Issue