From eb30f78a7c62101e7320c17396fa822d0e1cf7e6 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 23 Sep 2019 15:51:16 +0200 Subject: [PATCH] fixed incorrect raise of NoTokenError --- rowers/c2stuff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/c2stuff.py b/rowers/c2stuff.py index 3c514742..4d034e6a 100644 --- a/rowers/c2stuff.py +++ b/rowers/c2stuff.py @@ -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)