1 # vim: tabstop=4 shiftwidth=4 softtabstop=4
2 # -*- coding: utf-8 -*-
5 from flask import Flask
6 from linkpair.exporter.JSON import JsonExporter
13 def parse_linkpair_records():
14 linkpairs = collect_func()
15 exporter = JsonExporter(util, linkpairs)
16 return exporter.run() + "\n"
19 def start_app(listen='localhost:23456', debug=True):
29 return parse_linkpair_records()