Hmm. avoid cycles.
authorBernard Blackham <dagobah@ucc.gu.uwa.edu.au>
Sun, 27 Jun 2004 20:56:43 +0000 (20:56 +0000)
committerBernard Blackham <dagobah@ucc.gu.uwa.edu.au>
Sun, 27 Jun 2004 20:56:43 +0000 (20:56 +0000)
sql-edition/servers/VendServer.py

index 184546c..861f7c9 100755 (executable)
@@ -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):

UCC git Repository :: git.ucc.asn.au