Switched away from using JSONify

This commit is contained in:
Joel Collins 2020-04-24 16:05:01 +01:00
parent 4fffa1fcba
commit cda5cdbb44
9 changed files with 26 additions and 29 deletions

View file

@ -8,7 +8,7 @@ import logging, logging.handlers
import os
import pkg_resources
from flask import Flask, jsonify, send_file
from flask import Flask, send_file
from datetime import datetime
@ -129,7 +129,7 @@ def routes():
"""
List of all connected API routes
"""
return jsonify(list_routes(app))
return list_routes(app)
@app.route("/log")