summaryrefslogtreecommitdiffstats
path: root/Lib/whrandom.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/whrandom.py')
-rw-r--r--Lib/whrandom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/whrandom.py b/Lib/whrandom.py
index bd2dcf7..95e88f3 100644
--- a/Lib/whrandom.py
+++ b/Lib/whrandom.py
@@ -50,7 +50,7 @@ class whrandom:
# Initialize from current time
import time
t = long(time.time() * 256)
- t = int((t&0xffffff) | (t>>24))
+ t = int((t&0xffffff) ^ (t>>24))
t, x = divmod(t, 256)
t, y = divmod(t, 256)
t, z = divmod(t, 256)