python3 compatibility
solved another python3 issue
Merge pull request #18 from MatthiasLohr/bugfix/python3

python3 compatibility works.