diff --git a/app/server/utils.py b/app/server/utils.py index 0f98830f..ad92a924 100644 --- a/app/server/utils.py +++ b/app/server/utils.py @@ -393,7 +393,7 @@ class JSONPainter(object): return data @staticmethod - def paint_labels(self, documents, labels): + def paint_labels(documents, labels): serializer_labels = LabelSerializer(labels, many=True) serializer = DocumentSerializer(documents, many=True) data = []