From 639a7205f7ec0d0be39f8c90296ec2c66e035305 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Mon, 20 Jun 2011 16:29:05 +0200 Subject: [PATCH] Don't load annotations twice --- sloth/core/labeltool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sloth/core/labeltool.py b/sloth/core/labeltool.py index 2f488d8..66af930 100755 --- a/sloth/core/labeltool.py +++ b/sloth/core/labeltool.py @@ -212,7 +212,6 @@ class LabelTool(QObject): try: self.container_ = self.container_factory_.create(fname) - self.container_.load(fname) self._model = AnnotationModel(self.container_.load(fname)) msg = "Successfully loaded %s (%d files, %d annotations)" % \ (fname, self._model.root().numFiles(), self._model.root().numAnnotations())