From d55ad02863095261de520e6b33cffd9a0e40c7a4 Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Fri, 17 Jan 2014 11:13:12 -0800 Subject: [PATCH] Fix bug in TwoPartyServer that fixes #22 --- capnp/lib/capnp.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/capnp/lib/capnp.pyx b/capnp/lib/capnp.pyx index 6e840a1..eab2d12 100644 --- a/capnp/lib/capnp.pyx +++ b/capnp/lib/capnp.pyx @@ -1818,6 +1818,7 @@ cdef class TwoPartyServer: address, port = host_string.split(':') port = int(port) else: + address = host_string port = _random.randint(60000, 61000) if address == '*':