diff --git a/app/but/bulletin_but_court_pdf.py b/app/but/bulletin_but_court_pdf.py
index 9642de833f..edd8c0a351 100644
--- a/app/but/bulletin_but_court_pdf.py
+++ b/app/but/bulletin_but_court_pdf.py
@@ -499,14 +499,14 @@ class BulletinGeneratorBUTCourt(BulletinGeneratorStandard):
def boite_decisions_jury(self):
"""La boite en bas à droite avec jury"""
txt = f"""ECTS acquis en BUT : {self.ects_total:g}
"""
- if self.bul["semestre"]["decision_annee"]:
+ if self.bul["semestre"].get("decision_annee", None):
txt += f"""
Jury tenu le {
datetime.datetime.fromisoformat(self.bul["semestre"]["decision_annee"]["date"]).strftime("%d/%m/%Y")
}, année BUT {self.bul["semestre"]["decision_annee"]["code"]}.
"""
- if self.bul["semestre"]["autorisation_inscription"]:
+ if self.bul["semestre"].get("autorisation_inscription", None):
txt += (
"
Autorisé à s'inscrire en "
+ ", ".join(
diff --git a/sco_version.py b/sco_version.py
index 4610d0b5aa..43b8cef6b2 100644
--- a/sco_version.py
+++ b/sco_version.py
@@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
-SCOVERSION = "9.6.19"
+SCOVERSION = "9.6.20"
SCONAME = "ScoDoc"