aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/python/Components/Sources/Clock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Sources/Clock.py b/lib/python/Components/Sources/Clock.py
index 4c4b41e6..8341ebec 100644
--- a/lib/python/Components/Sources/Clock.py
+++ b/lib/python/Components/Sources/Clock.py
@@ -1,6 +1,6 @@
from Components.Element import cached
from enigma import eTimer
-import time
+from time import time as getTime
from Source import Source
@@ -13,7 +13,7 @@ class Clock(Source):
@cached
def getClock(self):
- return time.time()
+ return getTime()
time = property(getClock)