diff --git a/app/scodoc/sco_page_etud.py b/app/scodoc/sco_page_etud.py
index 43dc699d..307b56b6 100644
--- a/app/scodoc/sco_page_etud.py
+++ b/app/scodoc/sco_page_etud.py
@@ -514,7 +514,7 @@ def fiche_etud(etudid=None):
- Total ECTS BUT: {ects_total:g}
+ Total ECTS BUT : {(float(ects_total) if ects_total else 0):g}
diff --git a/sco_version.py b/sco_version.py
index 1671505e..67bc67d6 100644
--- a/sco_version.py
+++ b/sco_version.py
@@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
-SCOVERSION = "9.7.12"
+SCOVERSION = "9.7.13"
SCONAME = "ScoDoc"