Explorar el Código

Remove Copy of ...

Kentaro Wada hace 7 años
padre
commit
509a2a39be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      labelme/shape.py

+ 1 - 1
labelme/shape.py

@@ -182,7 +182,7 @@ class Shape(object):
         self._highlightIndex = None
 
     def copy(self):
-        shape = Shape("Copy of %s" % self.label )
+        shape = Shape(self.label)
         shape.points= [p for p in self.points]
         shape.fill = self.fill
         shape.selected = self.selected