Private
Public Access
1
0

fixes bug in import all

This commit is contained in:
Sander Roosendaal
2017-11-16 08:00:45 -06:00
parent c3ad8a8500
commit ebc7ff7e8a

View File

@@ -769,7 +769,11 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
timezone=timezone_str,
privacy=privacy)
w.save()
try:
w.save()
except ValidationError:
w.startdatetime = timezone.now()
w.save()
isbreakthrough = False
ishard = False