Private
Public Access
1
0

If name is empty, name will be set to - imported through email -

This commit is contained in:
sanderroosendaal
2016-10-31 16:31:54 +01:00
parent caedf5392f
commit 0a0e21ae07

View File

@@ -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,