git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SoftwareManager/BackupRestore.py: save configuration to settingsfile before doing...
[enigma2.git]
/
lib
/
python
/
Components
/
Sources
/
Clock.py
diff --git
a/lib/python/Components/Sources/Clock.py
b/lib/python/Components/Sources/Clock.py
index b59a20d5fbece643fcf92a159ce572a0009da94b..ba672825cd06d40c7bd3f9eacf4e54f17fa00ea8 100644
(file)
--- a/
lib/python/Components/Sources/Clock.py
+++ b/
lib/python/Components/Sources/Clock.py
@@
-8,7
+8,7
@@
class Clock(Source):
def __init__(self):
Source.__init__(self)
self.clock_timer = eTimer()
def __init__(self):
Source.__init__(self)
self.clock_timer = eTimer()
- self.clock_timer.
timeout.get()
.append(self.poll)
+ self.clock_timer.
callback
.append(self.poll)
self.clock_timer.start(1000)
@cached
self.clock_timer.start(1000)
@cached
@@
-28,4
+28,5
@@
class Clock(Source):
self.poll()
def destroy(self):
self.poll()
def destroy(self):
- self.clock_timer.timeout.get().remove(self.poll)
+ self.clock_timer.callback.remove(self.poll)
+ Source.destroy(self)