Fix output in Python 3
Merge pull request #69 from wdv4758h/master

Fix output in Python 3