aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-10-08 22:46:57 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-10-08 22:46:57 +0000
commit6f6514f64e4c769da57acd9c6070bc658c918fe8 (patch)
treec0d3f353dfb9f037e078c42383b5341f40e2246a /lib/python
parent0bc5a15f2b9a7e90ee0c5babec93c7b9ba66b16f (diff)
downloadenigma2-6f6514f64e4c769da57acd9c6070bc658c918fe8.tar.gz
enigma2-6f6514f64e4c769da57acd9c6070bc658c918fe8.zip
check ConfigPIN default
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 343632db..7ab7814b 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -439,6 +439,7 @@ class ConfigInteger(ConfigSequence):
class ConfigPIN(ConfigSequence):
def __init__(self, default, len = 4, censor = ""):
+ assert isinstance(default, int), "ConfigPIN default must be an integer"
ConfigSequence.__init__(self, seperator = ":", limits = [(0, (10**len)-1)], censor_char = censor, default = [default])
class ConfigFloat(ConfigSequence):