python 2 compatibility
Merge pull request #2 from JasonWoof/master

python 2 compatibility