Propably fixing AttributeError reported by ukkc in issue 4 on github.
Propably fixing AttributeError reported by ukkc in issue 4 on github.

gregmuellegger/django-websocket,quxiaolong1504/django-websocket,quxiaolong1504/django-websocket