Feat: split dashboard

This commit is contained in:
2021-01-20 20:54:59 +01:00
parent f62c898162
commit 84fcee625d
5 changed files with 35 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ from .getconfig import config, CONFIGPATH
from .prompts import prompt_exam, prompt_exercise, prompt_validate
from ..config import NO_ST_COLUMNS
from .exam import Exam
from ..dashboard.exam import app as exam_app
from ..dashboard.index import app as dash
@click.group()
@@ -89,7 +89,7 @@ def new_exam():
@cli.command()
@click.option("--debug", default=0, help="Debug mode for dash")
def exam_analysis(debug):
exam_app.run_server(debug=bool(debug))
dash.run_server(debug=bool(debug))
@cli.command()