pylint 2.3.0 (#21485)
* pylint 2.3.0 * remove const * disable=syntax-error
This commit is contained in:
1 parent
2482816a11
commit
519315f9c8
26 files changed
+47
-57
No files matched your search
@@ -130,7 +130,7 @@ class WebSocketHandler:
|
||||
if msg.type in (WSMsgType.CLOSE, WSMsgType.CLOSING):
|
||||
raise Disconnect
|
||||
|
||||
elif msg.type != WSMsgType.TEXT:
|
||||
if msg.type != WSMsgType.TEXT:
|
||||
disconnect_warn = 'Received non-Text message.'
|
||||
raise Disconnect
|
||||
|
||||
|
||||
Reference in new issue
Block a user