fix variable name

This commit is contained in:
Stratos Moros 2016-10-25 15:43:28 +03:00
parent 5f6f14a8d1
commit cd8b709ce8

View File

@ -314,7 +314,7 @@ class HTTPFactory(http.HTTPFactory):
"Got invalid WebSocket reply message on %s - " "Got invalid WebSocket reply message on %s - "
"contains unknown keys %s (looking for either {'accept', 'text', 'bytes', 'close'})" % ( "contains unknown keys %s (looking for either {'accept', 'text', 'bytes', 'close'})" % (
channel, channel,
unknown_message_keys, unknown_keys,
) )
) )
if message.get("accept", None) and protocol.state == protocol.STATE_CONNECTING: if message.get("accept", None) and protocol.state == protocol.STATE_CONNECTING: