Pointless dependency

This commit is contained in:
siinus
2021-05-03 00:44:35 +03:00
parent 0a5e1a3a5d
commit 86dd419080

View File

@@ -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()