From cf68ecb96dba46e75fd03df9407fc9d8d9b07efb Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 30 Apr 2003 21:03:18 +0000 Subject: Allow PIN length from 1 to 16 --- scripts/bluepin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit