Working again (basically)
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
base_path = os.path.dirname(os.path.abspath(__file__))
|
||||
# Insert local directories into path
|
||||
sys.path.append(base_path)
|
||||
sys.path.append(os.path.join(base_path, 'cps'))
|
||||
sys.path.append(os.path.join(base_path, 'vendor'))
|
||||
|
||||
from cps.server import Server
|
||||
from cps import create_app
|
||||
from cps.web import web
|
||||
from cps import Server
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.register_blueprint(web)
|
||||
Server.startServer()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user