diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-15 15:50:43 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-15 15:50:43 +0000 |
| commit | 8b2ce4053356148321c32551dd86234073f0c192 (patch) | |
| tree | cda0f34087662349f8e2bd963f0ad3e939680ad9 /lib/python/Screens | |
| parent | c9622ed49e250b776934dbd29a61bbb7a3ea2772 (diff) | |
| download | enigma2-8b2ce4053356148321c32551dd86234073f0c192.tar.gz enigma2-8b2ce4053356148321c32551dd86234073f0c192.zip | |
- add pissibility to mask pins
- using PINCODE instead of INTEGER in ci.py
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/Ci.py | 5 |
1 files changed, 4 insertions, 1 deletions
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): |
