prevent bluescreen happening when trying to set the progess slider with
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 21 Feb 2007 18:29:28 +0000 (18:29 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 21 Feb 2007 18:29:28 +0000 (18:29 +0000)
no progress points set by initializing the sliderPackages attribute
with an empty dict

lib/python/Screens/Ipkg.py

index af80e00..07a7eca 100644 (file)
@@ -10,6 +10,8 @@ class Ipkg(Screen):
                Screen.__init__(self, session)
                
                self.cmdList = cmdList
+
+               self.sliderPackages = {}
                
                self.slider = Slider(0, len(cmdList))
                self["slider"] = self.slider