calibre-web/cps.py

17 lines
244 B
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
2019-02-06 12:52:24 -08:00
from cps import create_app
from cps.web import web
from cps import Server
if __name__ == '__main__':
2019-02-06 12:52:24 -08:00
app = create_app()
app.register_blueprint(web)
Server.startServer()