From b3392170d0fc748166ab9a81aae6cbcb8abb134a Mon Sep 17 00:00:00 2001 From: Martin Baeuml Date: Mon, 8 Apr 2013 11:07:22 +0200 Subject: [PATCH] be less verbose when there is additional stuff in a label file --- sloth/gui/annotationscene.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sloth/gui/annotationscene.py b/sloth/gui/annotationscene.py index 9a80113..6c75e84 100644 --- a/sloth/gui/annotationscene.py +++ b/sloth/gui/annotationscene.py @@ -105,13 +105,13 @@ class AnnotationScene(QGraphicsScene): try: label_class = child['class'] except KeyError: - LOG.error('Could not find key class in annotation item. Skipping this item. Please check your label file.') + LOG.debug('Could not find key class in annotation item. Skipping this item. Please check your label file.') continue item = self._itemfactory.create(label_class, child) if item is not None: self.addItem(item) else: - LOG.warn("Could not find item for annotation with class '%s'" % label_class) + LOG.debug("Could not find item for annotation with class '%s'" % label_class) def deleteSelectedItems(self): # some (graphics) items may share the same model item