Fixed Python 3.x version check by using sys.version_info
Merge pull request #1 from svisser/patch-1

Fixed Python 3.x version check by using sys.version_info