Merge pull request #1 from julianhille/feature/python3_compability …
Fixed two little issues with python3 compatibility.