diff --git a/rowers/mailprocessing.py b/rowers/mailprocessing.py index 3ebc1b06..32d24bdc 100644 --- a/rowers/mailprocessing.py +++ b/rowers/mailprocessing.py @@ -208,6 +208,8 @@ def make_new_workout_from_email(rr,f2,name,cntr=0): workoutstarttime = row.rowdatetime.strftime('%H:%M:%S') notes = 'imported through email' + if name == '': + name = 'imported through email' w = Workout(user=rr,name=name,date=workoutdate, workouttype=workouttype,