From c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 1 May 2006 11:47:04 +0000 Subject: simplify GUIcreate/createWidget, fix base class order --- lib/python/Components/Clock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python/Components/Clock.py') diff --git a/lib/python/Components/Clock.py b/lib/python/Components/Clock.py index 9129acaf..ae828c4f 100644 --- a/lib/python/Components/Clock.py +++ b/lib/python/Components/Clock.py @@ -12,7 +12,7 @@ from config import config import time # now some "real" components: -class Clock(HTMLComponent, GUIComponent, VariableText): +class Clock(VariableText, HTMLComponent, GUIComponent): def __init__(self): VariableText.__init__(self) GUIComponent.__init__(self) @@ -43,4 +43,5 @@ class Clock(HTMLComponent, GUIComponent, VariableText): # ...und als HTML: def produceHTML(self): + # return T.b[self.getText()] return self.getText() -- cgit v1.2.3