* compatibility fix for python26
Merge pull request #1 from Aidamina/python26-compat-fix

* compatibility fix for python26