From 6cf6b38783c94e75f57fd0feb108177ace01c487 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 7 Jul 2021 16:15:46 +0100 Subject: [PATCH] . --- rapids/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids/models.py b/rapids/models.py index 996a56a2..b59f5801 100644 --- a/rapids/models.py +++ b/rapids/models.py @@ -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):