summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Jones <tyler@squirly.ca>2013-08-01 12:32:53 -0700
committerTyler Jones <tyler@squirly.ca>2013-08-01 12:32:53 -0700
commit59483c6dfbd260a4f18815edebc0bd3e4f58152d (patch)
tree238a552dd237e7d075c600b4f1f28e2a1e0b3413
parentc4a6c31ba9748947462e8e31e106215cca1d3cc9 (diff)
downloadoauthlib-59483c6dfbd260a4f18815edebc0bd3e4f58152d.tar.gz
Fixed error in example, added myself to authors.
-rw-r--r--AUTHORS3
-rw-r--r--docs/oauth1/server.rst2
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index 4da117c..c2719db 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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)