suspend timers when all renders are hidden
[enigma2.git] / lib / python / Components / Converter / ClockToText.py
index 61c176eb3519777c28e491e8c32951aea56c5cec..5d5df65113b455bb17df46778c3ca2e8844fdc72 100644 (file)
@@ -1,4 +1,4 @@
-from Components.Converter.Converter import Converter
+from Converter import Converter
 from time import localtime, strftime
 
 class ClockToText(Converter, object):
@@ -10,8 +10,8 @@ class ClockToText(Converter, object):
        # add: date, date as string, weekday, ... 
        # (whatever you need!)
        
-       def __init__(self, type, *args, **kwargs):
-               Converter.__init__(self)
+       def __init__(self, type):
+               Converter.__init__(self, type)
                if type == "WithSeconds":
                        self.type = self.WITH_SECONDS
                elif type == "InMinutes":