.
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ class Answer(models.Model):
|
|||||||
self.answer = self.answer.strip()
|
self.answer = self.answer.strip()
|
||||||
|
|
||||||
s = self.answer.lower()
|
s = self.answer.lower()
|
||||||
s = s.translate(str.maketrans('', '', string.punctuation))
|
s = s.translate(str.maketrans('', '', string.punctuation.replace("#", "")))
|
||||||
|
|
||||||
self.answer_compare = s
|
self.answer_compare = s
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user