From c8221b6a00ec1c2578231d02bbac164b6dfba2f3 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 22 Aug 2021 00:21:00 +0200 Subject: [PATCH] Fix: export xls ou pdf notes eval --- app/views/notes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/notes.py b/app/views/notes.py index cea164676..0da9f18e2 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -1578,7 +1578,10 @@ def evaluation_listenotes(REQUEST=None): else: H, F = "", "" B = sco_liste_notes.do_evaluation_listenotes(REQUEST) - return H + B + F + if H: + return H + B + F + else: + return B sco_publish(