query is a dict, not a function
This commit is contained in:
parent
4d556ec595
commit
20cfe159e9
|
@ -122,7 +122,7 @@ def twitter_callback(user):
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
# twitter passes the verifier/oauth token secret in a GET request.
|
# twitter passes the verifier/oauth token secret in a GET request.
|
||||||
verifier = request.query('oauth_verifier')
|
verifier = request.query['oauth_verifier']
|
||||||
consumer_key = config["twitter"]["consumer_key"]
|
consumer_key = config["twitter"]["consumer_key"]
|
||||||
consumer_secret = config["twitter"]["consumer_secret"]
|
consumer_secret = config["twitter"]["consumer_secret"]
|
||||||
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
|
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
|
||||||
|
|
Loading…
Reference in a new issue