From: Bernard Blackham Date: Sun, 27 Jun 2004 18:21:48 +0000 (+0000) Subject: OOps X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0e5f440c0906d793344c4ff3e6fd6ccb09be372a;p=zanchey%2Fdispense2.git OOps --- diff --git a/sql-edition/servers/VendServer.py b/sql-edition/servers/VendServer.py index c48d2bc..819de13 100755 --- a/sql-edition/servers/VendServer.py +++ b/sql-edition/servers/VendServer.py @@ -213,7 +213,7 @@ if __name__ == '__main__': mk.set_message(GREETING) if logout_timeout and not mk.done(): logout_timeout = None - if cur_user and cur_pin and mk.done() and logout_timeout == None: + if len(cur_pin) == PIN_LENGTH and mk.done() and logout_timeout == None: # start autologout logout_timeout = time() + 10