fix range in progress
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 10 Jul 2006 16:19:58 +0000 (16:19 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 10 Jul 2006 16:19:58 +0000 (16:19 +0000)
lib/python/Components/Renderer/Progress.py

index 9caea5e..b6f2b1c 100644 (file)
@@ -25,9 +25,9 @@ class Progress(VariableValue, Renderer):
                instance.setRange(self.__start, self.__end)
 
        def setRange(self, range):
-               (__start, __end) = range
+               (self.__start, self.__end) = range
                if self.instance is not None:
-                       self.instance.setRange(__start, __end)
+                       self.instance.setRange(self.__start, self.__end)
 
        def getRange(self):
                return (self.__start, self.__end)