Fix poorly captured second argument on Python 2

This commit is contained in:
Andrew Godwin 2018-01-05 00:39:46 -08:00
parent 0c633fa968
commit f335232373

View File

@ -57,7 +57,7 @@ class WebSocketProtocol(WebSocketServerProtocol):
self.server_addr = None
if self.main_factory.proxy_forwarded_address_header:
self.client_addr, = parse_x_forwarded_for(
self.client_addr, self.client_scheme = parse_x_forwarded_for(
self.http_headers,
self.main_factory.proxy_forwarded_address_header,
self.main_factory.proxy_forwarded_port_header,