number improvements (lets hope we don't break anything)

This commit is contained in:
Ross
2024-01-08 23:36:43 +00:00
parent 0579ad33a5
commit 6bfaa92324
11 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ class Answer(models.Model):
if self.answer:
self.answer = self.answer.strip()
s = self.answer.lower()
s = " ".join(self.answer.lower().split())
s = s.translate(str.maketrans("", "", string.punctuation))
self.answer_compare = s