Another fix that looked important but wasn't

This commit is contained in:
Jeff Forcier 2014-03-07 12:45:06 -08:00
parent 4c601eb95c
commit 3579f76dc7
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ class Transport (threading.Thread):
m = Message() m = Message()
m.add_byte(cMSG_IGNORE) m.add_byte(cMSG_IGNORE)
if byte_count is None: if byte_count is None:
byte_count = (ord(rng.read(1)) % 32) + 10 byte_count = (byte_ord(rng.read(1)) % 32) + 10
m.add_bytes(rng.read(byte_count)) m.add_bytes(rng.read(byte_count))
self._send_user_message(m) self._send_user_message(m)