fix numberzap
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 15 Nov 2005 02:58:10 +0000 (02:58 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 15 Nov 2005 02:58:10 +0000 (02:58 +0000)
lib/python/Screens/InfoBarGenerics.py

index 8314182..961d914 100644 (file)
@@ -133,8 +133,8 @@ class NumberZap(Screen):
                if len(self.field) >= 4:
                        self.keyOK()
 
                if len(self.field) >= 4:
                        self.keyOK()
 
-       def __init__(self, number):
-               Screen.__init__(self)
+       def __init__(self, session, number):
+               Screen.__init__(self, session)
                self.field = str(number)
                
                self["number"] = Label(self.field)
                self.field = str(number)
                
                self["number"] = Label(self.field)