.
This commit is contained in:
+3
-1
@@ -620,4 +620,6 @@ class CidUserAnswer(models.Model):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def get_answer_score(self):
|
def get_answer_score(self):
|
||||||
return self.score
|
if self.score == "":
|
||||||
|
return ""
|
||||||
|
return float(self.score)
|
||||||
|
|||||||
Reference in New Issue
Block a user