use single argument only
[enigma2.git] / lib / python / Components / Converter / ClockToText.py
index 3abfffc507c093412549fc14583b2ebce84aa594..5d5df65113b455bb17df46778c3ca2e8844fdc72 100644 (file)
@@ -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":