From 603388ead407036528cdf8f01fb659ea599882e8 Mon Sep 17 00:00:00 2001 From: erikamenezes Date: Fri, 24 May 2019 16:43:53 +0000 Subject: [PATCH] rmeoving additional argument --- app/server/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []