Update for Python 3 syntax
Merge pull request #8 from JohnArcher/master

Update to work with Sublime Text 3/Python 3