util = None
collect_func = None
+
def parse_linkpair_records():
- result_strings = []
linkpairs = collect_func()
exporter = JsonExporter(util, linkpairs)
return exporter.run() + "\n"
+
def start_app(listen='localhost:23456', debug=True):
app.config.update(
DEBUG=debug,
)
app.run()
+
@app.route("/")
def index():
return parse_linkpair_records()