Skip to content

Commit

Permalink
Merge pull request #29 from urandom/patch-1
Browse files Browse the repository at this point in the history
This is most likely a typo
  • Loading branch information
mitsuhiko committed Oct 6, 2012
2 parents 80167c4 + bb4a376 commit d12541c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaskext/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def request(self, url, data="", headers=None, format='urlencoded',
url = self.expand_url(url)
if method == 'GET':
assert format == 'urlencoded'
if not data:
if data:
url = add_query(url, data)
data = ""
else:
Expand Down

0 comments on commit d12541c

Please sign in to comment.