From 0e5f440c0906d793344c4ff3e6fd6ccb09be372a 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