Skip to content

Commit

Permalink
Authorize()
Browse files Browse the repository at this point in the history
  • Loading branch information
keanemind committed Nov 5, 2017
1 parent bce06b8 commit 63c8b2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def message_received():
if sql.process(str(number), connection):
print("lol")
if 'credentials' not in flask.session:
return flask.redirect(authorization_url)
# return flask.redirect('authorize')
authorize()
print("oh what")
# Load credentials from the session.
credentials = google.oauth2.credentials.Credentials(
Expand Down

0 comments on commit 63c8b2b

Please sign in to comment.