def help(self, **kwargs): try: html = api_repository.api_readme(kwargs)['result'] return '''<html><head><link href="../static/css/lib/bootstrap.min.css" rel="stylesheet"></head><body><div class='container'>{}</div></body></html>'''.format(html) except Exception,e: print("Very Bad Exception ::{}".format(e)) raise cherrypy.HTTPError(666, "General Exception")
def api_readme(self,**kwargs): try: return api_repository.api_readme(kwargs) except Exception,e: print("Very Bad Exception ::{}".format(e)) raise cherrypy.HTTPError(666, "General Exception")