make Boolean work
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:49:45 +0000 (00:49 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:49:45 +0000 (00:49 +0000)
lib/python/Components/Sources/Boolean.py

index 9ca5613d54227e1fa7b5ae0f0dcf83d04d5efa6e..df7f81b2a68e50bb1b510a02d795d477db0c82fc 100644 (file)
@@ -12,6 +12,8 @@ from enigma import eTimer
 class Boolean(Source, object):
        def __init__(self, fixed = False, function = None, poll = 0):
                Source.__init__(self)
 class Boolean(Source, object):
        def __init__(self, fixed = False, function = None, poll = 0):
                Source.__init__(self)
+               self.function = function
+               self.fixed = fixed
                if poll > 0:
                        self.poll_timer = eTimer()
                        self.poll_timer.timeout.get().append(self.poll)
                if poll > 0:
                        self.poll_timer = eTimer()
                        self.poll_timer.timeout.get().append(self.poll)