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 20:52:24 +00:00
from cps import create_app
from cps.web import web
from cps import Server
if __name__ == '__main__':
2019-02-06 20:52:24 +00:00
app = create_app()
app.register_blueprint(web)
Server.startServer()