diff --git a/pyleds/run.py b/pyleds/run.py index ab01108..5a64a87 100755 --- a/pyleds/run.py +++ b/pyleds/run.py @@ -5,7 +5,6 @@ import sys import lib.ProgramLoading as Pl from lib.Litsimaja import Litsimaja from flask import Flask, request, Response, render_template, json -from flask_accept import accept # start litsimaja lm = Litsimaja() @@ -31,7 +30,6 @@ def lm_standard_xhr_response() -> Response: @app.route('/', methods=['GET']) -@accept('text/html') def respond_root(): return render_template( 'index.html', @@ -42,7 +40,6 @@ def respond_root(): @app.route('/status', methods=['GET']) -@accept('application/json') def respond_status(): return lm_standard_xhr_response()