raising the StravaNoTokenError correctly
This commit is contained in:
@@ -306,7 +306,7 @@ def workout_strava_upload(user,w):
|
||||
res = -1
|
||||
if (r.stravatoken == '') or (r.stravatoken is None):
|
||||
s = "Token doesn't exist. Need to authorize"
|
||||
raise StravaNoTokenError
|
||||
raise StravaNoTokenError("Your hovercraft is full of eels")
|
||||
else:
|
||||
if (checkworkoutuser(user,w)):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user