From: Bernard Blackham Date: Sun, 27 Jun 2004 20:56:43 +0000 (+0000) Subject: Hmm. avoid cycles. X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4743f13254a4cbdfd266b36f8bb451c292e6278a;p=zanchey%2Fdispense2.git Hmm. avoid cycles. --- 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):