deleted 'str' in line 118 and 137

Otherwise, an error is raised in my python 2.7.5: 'ascii' codec can't
encode characters in position 170-173: ordinal not in range(128)
Merge pull request #1 from ciryiping/master

deleted 'str' in line 118 and 137
Accepted as the modified code also works in Python3.