From 9d0ded5f23bc018667005ac79a86ec916cd9fc1d Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Sun, 27 Jun 2004 18:56:47 +0000 Subject: [PATCH] Add sensibility --- sql-edition/servers/VendServer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql-edition/servers/VendServer.py b/sql-edition/servers/VendServer.py index 68c09b3..b1274da 100755 --- a/sql-edition/servers/VendServer.py +++ b/sql-edition/servers/VendServer.py @@ -212,6 +212,7 @@ if __name__ == '__main__': if time_left < 5 and (last_timeout_refresh is None or last_timeout_refresh > time_left): mk.set_message('LOGOUT: '+str(int(time_left))) last_timeout_refresh = int(time_left) + cur_selection = '' if logout_timeout != None and logout_timeout - time() <= 0: logout_timeout = None @@ -224,7 +225,6 @@ if __name__ == '__main__': if len(cur_pin) == PIN_LENGTH and mk.done() and logout_timeout == None: # start autologout logout_timeout = time() + 15 - cur_selection = '' mk.update_display() @@ -313,7 +313,6 @@ if __name__ == '__main__': scroll_options(username, mk) continue else: - logout_timeout = 10 cur_selection += chr(key + ord('0')) #make_selection(cur_selection) # XXX this should move somewhere else: -- 2.20.1