Lawouach/WebSocket-for-Python — pull request #149 by schiermike (2014-10-09 00:37:40+00:00)
Title: Fix: closing handshake does not work correctly when reason is empty

assuming msg = CloseControlMessage(), then bool(msg) == False when msg.reason = ''
So check for s.closing is None rather than bool(s.closing)