Fix for Python3
Merge pull request #27 from linovia/master

Fix for Python3