alexgreene / WikiQuiz

Generates a quiz for a Wikipedia page using parts of speech and text chunking.
MIT License
803 stars 58 forks source link

Decode bytes, fixes #2 #8

Closed t0mk closed 7 years ago

t0mk commented 7 years ago

With Python3 the "sec" arg is bytes (not string). I just add a decode so the replace works. I think it will do no harm in Python2.