View Single Post
Old 12-19-2018, 07:36 PM   #412
tessa33
Junior Member
tessa33 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2011
Device: Kindle 3G + Wifi
Quote:
Originally Posted by NiLuJe View Post

In /mnt/us/python/lib/python2.7/site-packages/requests/models.py around L392 (basically just above the offending unicode_is_ascii call), insert:

Code:
        if is_py2:
            host = unicode(host)
Honoring the whitespace *exactly* (this is Python, indent > everything, as it should!).
I'm a total newbie so I'm not exactly sure what this means or how to make the change. Would someone mind posting a step-by-step on how to make this edit?

Thank you so much!!
tessa33 is offline   Reply With Quote