Fix Python2.x support
Fix except
Merge pull request #1 from 2xyo/master

Fix Python2.x support