mirror of
https://github.com/django/daphne.git
synced 2024-11-25 09:13:44 +03:00
fix variable name
This commit is contained in:
parent
5f6f14a8d1
commit
cd8b709ce8
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user