mirror of
https://github.com/wassname/sloth.git
synced 2026-08-12 12:30:50 +08:00
Don't load annotations twice
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user