Beispiel #1
0
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)
Beispiel #2
0
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)
Beispiel #3
0
def db_peers():
    try:
        output = methods.get_peers()
        return methods.parse_output_json(output)
    except Exception as e:
        return "Error: %s" % str(e)
Beispiel #4
0
def db_peers():
    try:
        output = methods.get_peers()
        return methods.parse_output_json(output)
    except Exception as e:
        return "Error: %s" % str(e)