From 45d4cd2062a91b53d7bff9064d6cfdde6107590c Mon Sep 17 00:00:00 2001 From: b3yond Date: Sat, 14 Apr 2018 17:00:30 +0200 Subject: [PATCH] fixed url() call --- frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend.py b/frontend.py index 2fd598d..35a9dc5 100755 --- a/frontend.py +++ b/frontend.py @@ -104,7 +104,7 @@ def login_twitter(user): try: consumer_key = config["twitter"]["consumer_key"] consumer_secret = config["twitter"]["consumer_secret"] - callback_url = url("/login/twitter/callback") + callback_url = url("login/twitter/callback") auth = tweepy.OAuthHandler(consumer_key, consumer_secret, callback_url) try: redirect_url = auth.get_authorization_url()