add parental control (still somehow buggy and some minor features missing... don...
[vuplus_dvbapp] / lib / python / Components / Input.py
index 710ad0b..b30a74e 100644 (file)
@@ -20,6 +20,9 @@ class Input(VariableText, HTMLComponent, GUIComponent, NumericalTextInput):
                self.currPos = 0
                self.overwrite = 0
                self.setText(text)
+               
+       def __len__(self):
+               return len(self.text)
 
        def update(self):
                self.setMarkedPos(self.currPos)