Skip to content

Commit 763b432

Browse files
rodericjjoestump
authored andcommitted
tok != token. con != consumer.
May be confusing for people not actually reading the code.
1 parent e567ca0 commit 763b432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ This code was originally forked from [Leah Culver and Andy Smith's oauth.py code
3434
consumer = oauth.Consumer(key="con-test-key", secret="con-test-secret")
3535

3636
# Set our token/key parameters
37-
params['oauth_token'] = tok.key
38-
params['oauth_consumer_key'] = con.key
37+
params['oauth_token'] = token.key
38+
params['oauth_consumer_key'] = consumer.key
3939

4040
# Create our request. Change method, etc. accordingly.
4141
req = oauth.Request(method="GET", url=url, parameters=params)

0 commit comments

Comments
 (0)