summaryrefslogtreecommitdiffstats
path: root/scripts/bluepin
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-04-30 21:03:18 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-04-30 21:03:18 +0000
commitcf68ecb96dba46e75fd03df9407fc9d8d9b07efb (patch)
treed89d23faa7b81f3620d83605aa4fb4987fe86c5e /scripts/bluepin
parent32966b50fcda0b716027380b0ef67e5ae5eca770 (diff)
Allow PIN length from 1 to 16
Diffstat (limited to 'scripts/bluepin')
-rwxr-xr-xscripts/bluepin2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bluepin b/scripts/bluepin
index b17f4a03..66eec987 100755
--- a/scripts/bluepin
+++ b/scripts/bluepin
@@ -148,7 +148,7 @@ def main(*args):
if dialog(title, mesg, pin) == DLG_OK:
pin["PIN"] = string.strip(pin["PIN"])
- if len(pin["PIN"]) >= 4 and len(pin["PIN"]) <=16:
+ if len(pin["PIN"]) >= 1 and len(pin["PIN"]) <= 16:
print "PIN:" + pin["PIN"]
else:
print "ERR"