From: Bernard Blackham Date: Sun, 27 Jun 2004 20:56:43 +0000 (+0000) Subject: Hmm. avoid cycles. X-Git-Tag: IMPORT-FROM-UCCCVS~121 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c52a7a4b7936494b34a2bba4a671cfbb8c98294b;p=uccvend-vendserver.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):