From 0037502cf6649e1304d0f1de7b53fa5ca0b8d958 Mon Sep 17 00:00:00 2001 From: Ben Hoff Date: Thu, 20 Jun 2019 12:20:45 -0400 Subject: [PATCH] Static methods don't have a `self` variable (#507) --- cvat/apps/auto_annotation/model_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvat/apps/auto_annotation/model_manager.py b/cvat/apps/auto_annotation/model_manager.py index a72909b6..4196202a 100644 --- a/cvat/apps/auto_annotation/model_manager.py +++ b/cvat/apps/auto_annotation/model_manager.py @@ -247,7 +247,7 @@ class Results(): return self._results["tracks"] @staticmethod - def _create_polyshape(self, points, label, frame_number, attributes=None): + def _create_polyshape(points, label, frame_number, attributes=None): return { "label": label, "frame": frame_number,