diff --git a/app/scodoc/sco_formsemestre_edit.py b/app/scodoc/sco_formsemestre_edit.py index e607b2cd..d0146ba1 100644 --- a/app/scodoc/sco_formsemestre_edit.py +++ b/app/scodoc/sco_formsemestre_edit.py @@ -1397,7 +1397,8 @@ def do_formsemestre_clone( formsemestre.parcours = formsemestre_orig.parcours # 6- Copy description - formsemestre.description = formsemestre_orig.description.clone() + if formsemestre_orig.description: + formsemestre.description = formsemestre_orig.description.clone() db.session.add(formsemestre) db.session.commit() diff --git a/sco_version.py b/sco_version.py index 42dab115..3f09d6d2 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.7.7" +SCOVERSION = "9.7.8" SCONAME = "ScoDoc"