def gui_peers(): try: output = methods.get_peers() return render_template( "peers.html", db=current_app.db, domain_routing=output) except Exception as e: return "Error: %s" % str(e)
def gui_peers(): try: output = methods.get_peers() return render_template("peers.html", db=current_app.db, domain_routing=output) except Exception as e: return "Error: %s" % str(e)
def db_peers(): try: output = methods.get_peers() return methods.parse_output_json(output) except Exception as e: return "Error: %s" % str(e)