Commit 03c0a5ad authored by Zenon Mousmoulas's avatar Zenon Mousmoulas
Browse files

Catch more invalid XML in CAT API responses (ADMINCOUNT method)

parent 1a1b35a5
......@@ -49,6 +49,7 @@ class CatQuery(object):
if not 'INST_IDENTIFIER' in kwargs.keys():
raise Exception('INST_IDENTIFIER parameter is missing')
response = self.post_request(kwargs)
response = self.curate_response(response)
r = objectify.fromstring(response)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment