From c52a7a4b7936494b34a2bba4a671cfbb8c98294b Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Sun, 27 Jun 2004 20:56:43 +0000 Subject: [PATCH] Hmm. avoid cycles. --- sql-edition/servers/VendServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-edition/servers/VendServer.py b/sql-edition/servers/VendServer.py index 184546c..861f7c9 100755 --- a/sql-edition/servers/VendServer.py +++ b/sql-edition/servers/VendServer.py @@ -199,10 +199,10 @@ def cookie(v): s += msg[i] else: s += chr(int(random()*26)+ord('A')) + reveal += 1 + reveal %= 53 else: s += msg[i] - reveal += 1 - reveal %= 173 v.display(s) def center(str): -- 2.20.1