X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/94182eb0255955f30bff7e02bf0ee5ee66cafa96..7bfe7d97d94ea248b1d73c746354cd241203fe5d:/twitter/api.py diff --git a/twitter/api.py b/twitter/api.py index 570c788..f675822 100644 --- a/twitter/api.py +++ b/twitter/api.py @@ -142,7 +142,7 @@ class TwitterCall(object): uriBase += '?' + arg_data body = None else: - body = arg_data + body = arg_data.encode('utf8') req = urllib.request.Request(uriBase, body, headers)