PEP8 cleanup of ws.py
Merge pull request #824 from rdtaylor/pep8_ws

PEP8 cleanup of ws.py