aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-02-21 18:29:28 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-02-21 18:29:28 +0000
commit659d369223c44aa066c092d4bbd3766d190a2a47 (patch)
treee59f962c19581699a21de0b5f943274e9e89252d /lib/python
parent7d27b9f23f076a18a59ac6269c9db36345f8aa03 (diff)
downloadenigma2-659d369223c44aa066c092d4bbd3766d190a2a47.tar.gz
enigma2-659d369223c44aa066c092d4bbd3766d190a2a47.zip
prevent bluescreen happening when trying to set the progess slider with
no progress points set by initializing the sliderPackages attribute with an empty dict
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Ipkg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Screens/Ipkg.py b/lib/python/Screens/Ipkg.py
index af80e000..07a7eca4 100644
--- a/lib/python/Screens/Ipkg.py
+++ b/lib/python/Screens/Ipkg.py
@@ -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