improve parental control retry count
[enigma2.git] / lib / python / Components / config.py
index e9c8b1c15207ababdff7f09105ebc6046ce61657..38a231469b451daae65a730724cbcfd9be008de6 100644 (file)
@@ -428,7 +428,7 @@ class ConfigClock(ConfigSequence):
                ConfigSequence.__init__(self, seperator = ":", limits = [(0,23),(0,59)], default = [t.tm_hour, t.tm_min])
 
 class ConfigInteger(ConfigSequence):
-       def __init__(self, default, limits):
+       def __init__(self, default, limits = (0, 10000000000)):
                ConfigSequence.__init__(self, seperator = ":", limits = [limits], default = default)
        
        # you need to override this to do input validation