Private
Public Access
1
0

fixed incorrect raise of NoTokenError

This commit is contained in:
Sander Roosendaal
2019-09-23 15:51:16 +02:00
parent 5c3db3aeea
commit eb30f78a7c

View File

@@ -755,7 +755,7 @@ def workout_c2_upload(user,w):
if (checkworkoutuser(user,w)):
c2userid = get_userid(r.c2token)
if not c2userid:
raise NoTokenError
raise NoTokenError("User has no token")
data = createc2workoutdata(w)