From 8cedd5170d49b6f0a6a871bd967dcdcf25814b50 Mon Sep 17 00:00:00 2001 From: Brocas Mathieu Date: Tue, 7 Nov 2023 06:33:14 +0000 Subject: [PATCH] Actualiser studenteval/models.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Débug nInter_Complexity --- studenteval/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/studenteval/models.py b/studenteval/models.py index d791053..0f02e25 100644 --- a/studenteval/models.py +++ b/studenteval/models.py @@ -193,9 +193,9 @@ class cl_Student_eval(models.Model): def get_inter_complexity(self): try: - return INTER_COMPLEXITY[int(self.nInter_Nature) - 1][1] + return INTER_COMPLEXITY[int(self.nInter_Complexity) - 1][1] except: - return f"Unknown {self.nInter_Nature}" + return f"Unknown {self.nInter_Complexity}" def __str__(self): try: