Commit e2cc2c3d authored by Biagio's avatar Biagio

cleanup

parent a829f892
......@@ -21,9 +21,6 @@ def remote_validate(akn_string):
try:
if r.status_code == 200:
validation = json.loads(r.text)
# validation_xml = badgerfish.etree(validation, root=etree.Element("validation"))
# is_valid = validation["success"]
# #alidation_xml = validation_xml
return validation["success"], validation
else:
return False, dict(success="unkown", errors=[dict(message=f"Could not validate from remote ({r.status_code}): {r.text}")])
......
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