diff options
author | Tyler Jones <tyler@squirly.ca> | 2013-08-01 12:32:53 -0700 |
---|---|---|
committer | Tyler Jones <tyler@squirly.ca> | 2013-08-01 12:32:53 -0700 |
commit | 59483c6dfbd260a4f18815edebc0bd3e4f58152d (patch) | |
tree | 238a552dd237e7d075c600b4f1f28e2a1e0b3413 | |
parent | c4a6c31ba9748947462e8e31e106215cca1d3cc9 (diff) | |
download | oauthlib-59483c6dfbd260a4f18815edebc0bd3e4f58152d.tar.gz |
Fixed error in example, added myself to authors.
-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | docs/oauth1/server.rst | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -17,4 +17,5 @@ Mackenzie Thompson Hsiaoming Yang Devin Sevilla Clint Ecker -Kyle Valade
\ No newline at end of file +Kyle Valade +Tyler Jones (squirly) diff --git a/docs/oauth1/server.rst b/docs/oauth1/server.rst index e62698d..8fcfd2d 100644 --- a/docs/oauth1/server.rst +++ b/docs/oauth1/server.rst @@ -329,7 +329,7 @@ The example uses Flask but should be transferable to any framework. body=request.data, headers=request.headers, realms=realms) - if status == 200: + if s == 200: return 'Your verifier is: ' + str(urlparse.parse_qs(b)['oauth_verifier'][0]) else: return Response(b, status=s, headers=h) |