From 8b2ce4053356148321c32551dd86234073f0c192 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 15 Oct 2005 15:50:43 +0000 Subject: - add pissibility to mask pins - using PINCODE instead of INTEGER in ci.py --- lib/python/Screens/Ci.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/python/Screens') diff --git a/lib/python/Screens/Ci.py b/lib/python/Screens/Ci.py index 24e20bb1..8443079e 100644 --- a/lib/python/Screens/Ci.py +++ b/lib/python/Screens/Ci.py @@ -57,7 +57,10 @@ class CiMmi(Screen): if entry[0] == "TEXT": #handle every item (text / pin only?) list.append( (entry[1], index) ) if entry[0] == "PIN": - x = configElement_nonSave("", configSequence, [1234], configsequencearg.get("INTEGER", (0, ((10**entry[1])-1)))) + # masked pins: + x = configElement_nonSave("", configSequence, [1234], configsequencearg.get("PINCODE", (entry[1], "-"))) + # unmasked pins: + # x = configElement_nonSave("", configSequence, [1234], configsequencearg.get("PINCODE", (entry[1], ""))) list.append( getConfigListEntry(entry[2],x) ) def okbuttonClick(self): -- cgit v1.2.3