Commit 3444f110 authored by Denis Bilenko's avatar Denis Bilenko

baseserver.py: fix TypeError in _parse_address

parent a671cdf6
......@@ -313,7 +313,7 @@ def _parse_address(address):
host = ''
return family, (host, int(port))
else:
return _socket.AF_INET, ('', int(port))
return _socket.AF_INET, ('', int(address))
elif isinstance(address, integer_types):
return _socket.AF_INET, ('', int(address))
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment