Private
Public Access
1
0

raising the StravaNoTokenError correctly

This commit is contained in:
Sander Roosendaal
2017-06-21 12:09:26 +02:00
parent 190d662491
commit fe6616aaf2

View File

@@ -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: