From: Bernard Blackham Date: Sun, 27 Jun 2004 18:21:48 +0000 (+0000) Subject: OOps X-Git-Tag: IMPORT-FROM-UCCCVS~131 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=100c53d48e3a0f645e200d65f088cfbdf768712c;p=uccvend-vendserver.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