Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from flask import Flask
- import sys
- from pprint import pprint
- sys.path.append("/var/www/FLASKAPPS")
- from Server import Server
- app = Flask(__name__)
- server = Server(app)
- @app.route("/api/status")
- def statusAction():
- return server.status()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement