If name is empty, name will be set to - imported through email -
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user