git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix frequently segfault on clean shutdown
[enigma2.git]
/
lib
/
python
/
Components
/
Sources
/
Boolean.py
diff --git
a/lib/python/Components/Sources/Boolean.py
b/lib/python/Components/Sources/Boolean.py
index 9ca5613d54227e1fa7b5ae0f0dcf83d04d5efa6e..df7f81b2a68e50bb1b510a02d795d477db0c82fc 100644
(file)
--- a/
lib/python/Components/Sources/Boolean.py
+++ b/
lib/python/Components/Sources/Boolean.py
@@
-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)