fix import
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 2 Aug 2007 11:14:42 +0000 (11:14 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 2 Aug 2007 11:14:42 +0000 (11:14 +0000)
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)