redirect to the right page

This commit is contained in:
Edward Betts 2019-09-27 20:11:04 +01:00
parent 83b8792eaa
commit 7b1c14b1ce

2
app.py
View file

@ -235,7 +235,7 @@ def oauth_callback():
session['owner_key'] = oauth_tokens.get('oauth_token')
session['owner_secret'] = oauth_tokens.get('oauth_token_secret')
return redirect(url_for('browse_index'))
return redirect(url_for('browse_page'))
def get_username():
if 'owner_key' not in session: