From d156b2bde53283dd3fe108c767e7872199f48a7b Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 15 May 2020 17:25:02 +0200 Subject: [PATCH] bug fix --- rowers/dataprep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/dataprep.py b/rowers/dataprep.py index f568aab3..1aae86d9 100644 --- a/rowers/dataprep.py +++ b/rowers/dataprep.py @@ -484,7 +484,7 @@ def join_workouts(r,ids,title='Joined Workout', w = Workout.objects.get(id=id) w.duplicate = False w.save() - if "duplicate" in message: + if message is not None and "duplicate" in message: message = "" return (id, message)