diff --git a/rowers/c2stuff.py b/rowers/c2stuff.py index 2d4c8524..23bf374f 100644 --- a/rowers/c2stuff.py +++ b/rowers/c2stuff.py @@ -350,7 +350,7 @@ def get_token(code): response = s.send(prepped) token_json = response.json() - + if token_json['status_code'] == 200: thetoken = token_json['access_token'] expires_in = token_json['expires_in']