bugfix py3
Merge pull request #61 from eryckson/master

bugfix for py3