fix import
[enigma2.git] / lib / python / Components / Sources / Clock.py
index 4833dddec9212a17d108df7a6948784aa1b2103a..8341ebecc9f734e526d2f14148755495ea0b3156 100644 (file)
@@ -1,7 +1,6 @@
-from Tools.Event import Event
 from Components.Element import cached
 from enigma import eTimer
-import time
+from time import time as getTime
 
 from Source import Source
 
@@ -14,7 +13,7 @@ class Clock(Source):
 
        @cached
        def getClock(self):
-               return time.time()
+               return getTime()
 
        time = property(getClock)