Commit acca9d66 authored by Katsunori SUZUI's avatar Katsunori SUZUI Committed by Aaron Hill
Browse files

Fix tweepy.API.update_with_madia

`filename` have to be percent-encoded whichever it is an instance of
`unicode` or an instance of `str`.
parent 4299f9a8
......@@ -1232,7 +1232,7 @@ class API(object):
if isinstance(filename, unicode):
filename = filename.encode("utf-8")
filename = urllib.quote(filename)
filename = filename.encode("utf-8")
body = []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment