git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use single argument only
[enigma2.git]
/
lib
/
python
/
Components
/
Converter
/
ClockToText.py
diff --git
a/lib/python/Components/Converter/ClockToText.py
b/lib/python/Components/Converter/ClockToText.py
index 3abfffc507c093412549fc14583b2ebce84aa594..5d5df65113b455bb17df46778c3ca2e8844fdc72 100644
(file)
--- 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!)
# 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":
if type == "WithSeconds":
self.type = self.WITH_SECONDS
elif type == "InMinutes":