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 4c4b41e..8341ebe 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)