fix for python 2.6 format
Merge pull request #77 from piti118/master

fix for python 2.6 format