From 100c53d48e3a0f645e200d65f088cfbdf768712c Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Sun, 27 Jun 2004 18:21:48 +0000 Subject: [PATCH] OOps --- sql-edition/servers/VendServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1