return html_auth2.format(error=data)
if request.path_info in ("/version", "/system"):
return "<pre>" + yaml.safe_dump(data, explicit_start=False, indent=4, default_flow_style=False) + "</pre>"
return html_auth2.format(error=data)
if request.path_info in ("/version", "/system"):
return "<pre>" + yaml.safe_dump(data, explicit_start=False, indent=4, default_flow_style=False) + "</pre>"