Fix bug in TwoPartyServer that fixes #22

This commit is contained in:
Jason Paryani
2014-01-17 11:13:12 -08:00
parent aa317e7324
commit d55ad02863

View File

@@ -1818,6 +1818,7 @@ cdef class TwoPartyServer:
address, port = host_string.split(':') address, port = host_string.split(':')
port = int(port) port = int(port)
else: else:
address = host_string
port = _random.randint(60000, 61000) port = _random.randint(60000, 61000)
if address == '*': if address == '*':