OOps
authorBernard Blackham <dagobah@ucc.gu.uwa.edu.au>
Sun, 27 Jun 2004 18:21:48 +0000 (18:21 +0000)
committerBernard Blackham <dagobah@ucc.gu.uwa.edu.au>
Sun, 27 Jun 2004 18:21:48 +0000 (18:21 +0000)
sql-edition/servers/VendServer.py

index c48d2bc..819de13 100755 (executable)
@@ -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
 

UCC git Repository :: git.ucc.asn.au