fix for Python 3 compatibility
fix for Python 3 compatibility
Merge pull request #2 from antonygc/master

small fix for python 3