fixed import for python 3
Merge pull request #1052 from miguelgrinberg/master

fixed import for python 3