Fixed Python 2.x/3.x Compatibility #2

See previous commit. Identical reasons.