This commit is contained in:
Ross
2021-07-07 16:15:46 +01:00
parent 694700fbec
commit 6cf6b38783
+1 -1
View File
@@ -39,7 +39,7 @@ def image_directory_path(instance, filename):
def get_answer_compare(s):
s = s.strip().lower()
s = s.translate(str.maketrans('', '', s.punctuation.replace("#", "")))
s = s.translate(str.maketrans('', '', string.punctuation.replace("#", "")))
return s
class Abnormality(models.Model):