diff --git a/app/routes.py b/app/routes.py index 881f036..a508fa4 100644 --- a/app/routes.py +++ b/app/routes.py @@ -49,11 +49,11 @@ def prince_corpus(house=None, prince=None): &(Involved_in.invol_in_interv == 1))] prince_acte = [] for acte in actes: - info = [(t.filename, t.date) for t in Acte.select().where( + info = [(t.filename, t.date, t.analysis) for t in Acte.select().where( Acte.id_acte == acte)] prince_acte.append(info[0]) prince_acte = sorted(prince_acte) - print(prince_acte) + # print(prince_acte) return render_template("prince_corpus.html", houseS=house, duke_name=prince_name, lst_id=prince_acte)