diff --git a/pandora/annotation/models.py b/pandora/annotation/models.py index 9c5088ad..6383c3d7 100644 --- a/pandora/annotation/models.py +++ b/pandora/annotation/models.py @@ -61,7 +61,7 @@ class Annotation(models.Model): set_public_id = not self.id or not self.public_id layer = self.get_layer() if self.value: - self.value = utils.cleanup_value(self.value, self.layer['tyoe']) + self.value = utils.cleanup_value(self.value, self.layer['type']) self.findvalue = ox.stripTags(self.value).strip() sortvalue = self.findvalue sortvalue = sort_string(sortvalue)