diff --git a/mason-today/app.py b/mason-today/app.py
index bdb969c8ebae727a6b3c0b73003133469b37b313..6bc9b36438c5b8f6eafb17705d0003db3ed64377 100644
--- a/mason-today/app.py
+++ b/mason-today/app.py
@@ -6,21 +6,27 @@ import json
app = Flask(__name__)
+
@app.route("/")
def display_default():
- resp = Response(("Welcome to the masontoday API! Go to https://git.gmu.edu/srct/mason-today-web
"
- + "Feel free to go to /api/25live/ or /api/getconnected/ to find our api!").encode('utf-8'))
+ resp = Response(("Welcome to the masontoday API! Go to https://git.gmu.edu\
+ /srct/mason-today-web
"
+ + "Feel free to go to /api/25live/ or /api/getconnected/ \
+ to find our api!").encode('utf-8'))
return resp
+
@app.route("/api/25live")
def display_data():
- resp = Response(json.dumps(load_data(), ensure_ascii=False).encode('utf-8'))
+ resp = Response(json.dumps(load_data(), ensure_ascii=False)
+ .encode('utf-8'))
resp.headers['Content-Type'] = 'application/json; charset=utf-8'
return resp
@app.route("/api/getconnected")
def display_GC_data():
- resp = Response(json.dumps(load_getconn_data(), ensure_ascii=False).encode('utf-8'))
+ resp = Response(json.dumps(load_getconn_data(), ensure_ascii=False)
+ .encode('utf-8'))
resp.headers['Content-Type'] = 'application/json; charset=utf-8'
return resp