From 911466bd5e018b80dfbbd5e12c4923e89a980792 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 24 Jul 2006 23:55:12 +0000 Subject: use single argument only --- lib/python/Components/Converter/ClockToText.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/Converter/ClockToText.py') diff --git a/lib/python/Components/Converter/ClockToText.py b/lib/python/Components/Converter/ClockToText.py index 3abfffc5..5d5df651 100644 --- a/lib/python/Components/Converter/ClockToText.py +++ b/lib/python/Components/Converter/ClockToText.py @@ -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": -- cgit v1.2.3