From 092b9673dcc2450ad4be1590fd20ff71a5897c52 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 14 Jun 2011 12:15:28 +0200 Subject: [PATCH] Fix bug with image loading --- sloth/core/labeltool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sloth/core/labeltool.py b/sloth/core/labeltool.py index 8c5415c..2147e40 100755 --- a/sloth/core/labeltool.py +++ b/sloth/core/labeltool.py @@ -174,7 +174,7 @@ class LabelTool(QObject): def getImage(self, item): # TODO: Also handle video frames - self.container_.loadImage(item.filename()) + return self.container_.loadImage(item.filename()) def getAnnotationFilePatterns(self): return self.container_factory_.patterns()