aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

fix `TypeError: can't use a string pattern on a bytes-like object` #50

Closed taiyu-len closed 8 years ago

taiyu-len commented 8 years ago

when i went to update the cppman cache i got this TypeError: can't use a string pattern on a bytes-like object when it was trying to regexsearch the response data.

anyway as far as I can tell, this tiny change seems to fix it.

duno if this happens for anyone else though.

aitjcize commented 8 years ago

Thanks for the fix