fix import
[enigma2.git] / lib / python / Components / Sources / Clock.py
index 4c4b41e6c34706b9539b1b0ff56a82dffdad4a34..8341ebecc9f734e526d2f14148755495ea0b3156 100644 (file)
@@ -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)