fix for python 3.x incompatibility in pagination
Merge pull request #59 from nsmith448/master

fix for python 3.x incompatibility in pagination