diff options
author | xray7224 <xray7224@googlemail.com> | 2013-09-24 20:30:51 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-07-22 23:13:15 +0100 |
commit | d4a21d7e746dc1284f44137d1c3e45b7b5ee09c0 (patch) | |
tree | 27711395fd462212233a1f5b03a74647539ed51c /mediagoblin/oauth | |
parent | c894b4246a1211e7d8e63e7c51b8d7095482a10c (diff) | |
download | mediagoblin-d4a21d7e746dc1284f44137d1c3e45b7b5ee09c0.tar.lz mediagoblin-d4a21d7e746dc1284f44137d1c3e45b7b5ee09c0.tar.xz mediagoblin-d4a21d7e746dc1284f44137d1c3e45b7b5ee09c0.zip |
Add basic upload image capabilities
Diffstat (limited to 'mediagoblin/oauth')
-rw-r--r-- | mediagoblin/oauth/oauth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/oauth/oauth.py b/mediagoblin/oauth/oauth.py index 8229c47d..d9defa4b 100644 --- a/mediagoblin/oauth/oauth.py +++ b/mediagoblin/oauth/oauth.py @@ -126,7 +126,7 @@ class GMGRequest(Request): """ kwargs["uri"] = kwargs.get("uri", request.url) kwargs["http_method"] = kwargs.get("http_method", request.method) - kwargs["body"] = kwargs.get("body", request.get_data()) + kwargs["body"] = kwargs.get("body", request.data) kwargs["headers"] = kwargs.get("headers", dict(request.headers)) super(GMGRequest, self).__init__(*args, **kwargs) |