number improvements (lets hope we don't break anything)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user