Actualiser studenteval/models.py
Débug nInter_Complexity
This commit is contained in:
@@ -193,9 +193,9 @@ class cl_Student_eval(models.Model):
|
|||||||
|
|
||||||
def get_inter_complexity(self):
|
def get_inter_complexity(self):
|
||||||
try:
|
try:
|
||||||
return INTER_COMPLEXITY[int(self.nInter_Nature) - 1][1]
|
return INTER_COMPLEXITY[int(self.nInter_Complexity) - 1][1]
|
||||||
except:
|
except:
|
||||||
return f"Unknown {self.nInter_Nature}"
|
return f"Unknown {self.nInter_Complexity}"
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user