From cd8b709ce8dbeba84c47e7e947002a61713c914f Mon Sep 17 00:00:00 2001 From: Stratos Moros Date: Tue, 25 Oct 2016 15:43:28 +0300 Subject: [PATCH] fix variable name --- daphne/http_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daphne/http_protocol.py b/daphne/http_protocol.py index d998ac1..5b6158f 100755 --- a/daphne/http_protocol.py +++ b/daphne/http_protocol.py @@ -314,7 +314,7 @@ class HTTPFactory(http.HTTPFactory): "Got invalid WebSocket reply message on %s - " "contains unknown keys %s (looking for either {'accept', 'text', 'bytes', 'close'})" % ( channel, - unknown_message_keys, + unknown_keys, ) ) if message.get("accept", None) and protocol.state == protocol.STATE_CONNECTING: